aboutsummaryrefslogtreecommitdiff
path: root/system/systemd
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2022-04-11 20:00:41 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2022-04-11 20:02:42 +0200
commit5b3679958264327da2875ca2d0fd44f321cf9e2c (patch)
treeccb5c196d1c29e75114c93545e4c02e78f22a25b /system/systemd
parentFix name collision in server entry-point. (diff)
downloadcalp-5b3679958264327da2875ca2d0fd44f321cf9e2c.tar.gz
calp-5b3679958264327da2875ca2d0fd44f321cf9e2c.tar.xz
Replace systemd service with working, remove PKGBUILD.
Diffstat (limited to 'system/systemd')
-rw-r--r--system/systemd/user/calp.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/systemd/user/calp.service b/system/systemd/user/calp.service
new file mode 100644
index 00000000..2dcb1518
--- /dev/null
+++ b/system/systemd/user/calp.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Calendar server
+Documentation=info:calp
+Documentation=file:/usr/share/doc/calp/README
+
+[Service]
+Environment=SYSTEMD=true
+ExecStart=calp --config %E/calp/config.scm --repl %t/calp-production server --sigusr
+Restart=always
+
+[Install]
+WantedBy=default.target