summaryrefslogtreecommitdiff
path: root/install/jwebmail.service.in
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-29 19:03:40 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-29 19:03:40 +0200
commit80f8160370b297f7c81f9d77d9f6f8046634c259 (patch)
tree77c125769d2c5fe92b89f29df99ba132d2ec3aaf /install/jwebmail.service.in
parent3298617b8724f1827ae4fae2232795c66ed07161 (diff)
add global paths
Diffstat (limited to 'install/jwebmail.service.in')
-rw-r--r--install/jwebmail.service.in14
1 files changed, 14 insertions, 0 deletions
diff --git a/install/jwebmail.service.in b/install/jwebmail.service.in
new file mode 100644
index 0000000..afd0f17
--- /dev/null
+++ b/install/jwebmail.service.in
@@ -0,0 +1,14 @@
+[Unit]
+Description=JWebmail managed by hypnotoad
+After=network.target
+
+[Service]
+Type=exec
+ExecStart=hypnotoad -f jwebmail
+ExecReload=hypnotoad -f jwebmail
+PIDFile=/run/jwebmail/hypnotoad.pid
+Environment=MOJO_LOG_SHORT=1 MOJO_CONFIG=@DESTDIR@@PREFIX@/@CONFDIR@/jwebmail.toml
+User=jwebmail
+
+[Install]
+WantedBy=multi-user.target