summarylogtreecommitdiffstats
path: root/keydb.service
diff options
context:
space:
mode:
authorDiab Neiroukh2020-04-30 17:22:52 +0100
committerDiab Neiroukh2020-04-30 18:33:34 +0100
commit62d646cc958ca621bfe989520b6b98e9bea385e4 (patch)
treeca2ec777318f79ca0f867be6cbe80528f5c4bd30 /keydb.service
downloadaur-62d646cc958ca621bfe989520b6b98e9bea385e4.tar.gz
🔥
Diffstat (limited to 'keydb.service')
-rw-r--r--keydb.service22
1 files changed, 22 insertions, 0 deletions
diff --git a/keydb.service b/keydb.service
new file mode 100644
index 000000000000..a55cee96ebeb
--- /dev/null
+++ b/keydb.service
@@ -0,0 +1,22 @@
+[Unit]
+Description=Advanced key-value store
+After=network.target
+
+[Service]
+Type=simple
+User=keydb
+Group=keydb
+ExecStart=/usr/bin/keydb-server /etc/keydb.conf
+ExecStop=/usr/bin/keydb-cli shutdown
+CapabilityBoundingSet=
+PrivateTmp=true
+PrivateDevices=true
+ProtectSystem=full
+ProtectHome=true
+NoNewPrivileges=true
+RuntimeDirectory=keydb
+RuntimeDirectoryMode=755
+LimitNOFILE=10032
+
+[Install]
+WantedBy=multi-user.target