summarylogtreecommitdiffstats
path: root/docspell-joex.service
diff options
context:
space:
mode:
authorLucki2020-10-17 16:36:09 +0200
committerLucki2020-10-17 16:36:09 +0200
commit68c47a2941b073915cbf9fa35fa5864196000228 (patch)
tree5445fddcf3b787c99bbf6e2f885fa4a326b44c5c /docspell-joex.service
downloadaur-68c47a2941b073915cbf9fa35fa5864196000228.tar.gz
Initial upload: docspell 0.12.0-1
Diffstat (limited to 'docspell-joex.service')
-rw-r--r--docspell-joex.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/docspell-joex.service b/docspell-joex.service
new file mode 100644
index 000000000000..f330f596b4b4
--- /dev/null
+++ b/docspell-joex.service
@@ -0,0 +1,20 @@
+[Unit]
+Description=docspell-joex
+Requires=network.target
+
+[Service]
+Type=simple
+WorkingDirectory=/var/lib/docspell
+ExecStart=/usr/bin/docspell-joex
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
+RestartSec=60
+SuccessExitStatus=
+TimeoutStopSec=5
+User=docspell
+Group=docspell
+PermissionsStartOnly=true
+LimitNOFILE=1024
+
+[Install]
+WantedBy=multi-user.target