summarylogtreecommitdiffstats
path: root/sks-db-local.service
diff options
context:
space:
mode:
Diffstat (limited to 'sks-db-local.service')
-rw-r--r--sks-db-local.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/sks-db-local.service b/sks-db-local.service
new file mode 100644
index 000000000000..a6bbefe12999
--- /dev/null
+++ b/sks-db-local.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Synchronizing key server db instance (Local sync/dumps)
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=simple
+User=sks
+Group=sks
+PIDFile=/var/run/sks-local/sksdb.pid
+ExecStart=/usr/bin/sks-local db
+RuntimeDirectory=sks-local
+RuntimeDirectoryMode=0755
+
+[Install]
+WantedBy=multi-user.target