summaryrefslogtreecommitdiff
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/jwebmail.service.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/install/jwebmail.service.in b/install/jwebmail.service.in
index e15638d..20e475a 100644
--- a/install/jwebmail.service.in
+++ b/install/jwebmail.service.in
@@ -6,7 +6,8 @@ After=network.target
Type=exec
ExecStart=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
ExecReload=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
-PIDFile=$XDG_RUNTIME_DIR/jwebmail.pid
+RuntimeDir=/run/jwebmail
+PIDFile=/run/jwebmail/hypnotoad.pid
Environment=MOJO_LOG_SHORT=1 MOJO_CONFIG=@DESTDIR@@PREFIX@/@CONFDIR@/jwebmail.toml
User=jwebmail