summaryrefslogtreecommitdiff
path: root/install/jwebmail.service.in
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-29 21:13:55 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-29 21:13:55 +0200
commit13813d6f530f930fbe6d94bb228a9ac6d9c36be5 (patch)
tree84ab85e5a6bc97c5de4d35263b7cbaecd8e4a11b /install/jwebmail.service.in
parent844328cf9b98b7b8da7788e4db173c4034c0e826 (diff)
adjust pid file location for service
Diffstat (limited to 'install/jwebmail.service.in')
-rw-r--r--install/jwebmail.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/install/jwebmail.service.in b/install/jwebmail.service.in
index 8c03dde..e15638d 100644
--- a/install/jwebmail.service.in
+++ b/install/jwebmail.service.in
@@ -6,7 +6,7 @@ After=network.target
Type=exec
ExecStart=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
ExecReload=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
-PIDFile=/run/jwebmail/hypnotoad.pid
+PIDFile=$XDG_RUNTIME_DIR/jwebmail.pid
Environment=MOJO_LOG_SHORT=1 MOJO_CONFIG=@DESTDIR@@PREFIX@/@CONFDIR@/jwebmail.toml
User=jwebmail