summarylogtreecommitdiffstats
path: root/redict.service
diff options
context:
space:
mode:
authorfossdd2024-04-01 16:32:25 +0000
committerfossdd2024-04-01 16:32:25 +0000
commitad1a77d9e320ecc41ab48f192a2ad712d6bbef0a (patch)
tree54d77dc9fa3bb0a2f5b5c292475821305b1f8659 /redict.service
parent8bc39375b2b41a1b5f947783b06be99f2a2d481b (diff)
downloadaur-redict-git.tar.gz
merge with redict-db-git
Diffstat (limited to 'redict.service')
-rw-r--r--redict.service23
1 files changed, 23 insertions, 0 deletions
diff --git a/redict.service b/redict.service
new file mode 100644
index 000000000000..e11b3fcdd489
--- /dev/null
+++ b/redict.service
@@ -0,0 +1,23 @@
+[Unit]
+Description=Advanced key-value store
+After=network.target
+
+[Service]
+Type=notify
+User=redict
+Group=redict
+ExecStart=/usr/bin/redict-server /etc/redict/redict.conf --supervised systemd
+TimeoutStartSec=60
+TimeoutStopSec=60
+CapabilityBoundingSet=
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+ProtectHome=true
+NoNewPrivileges=true
+RuntimeDirectory=redict
+RuntimeDirectoryMode=755
+LimitNOFILE=10032
+
+[Install]
+WantedBy=multi-user.target