summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2023-09-29 20:40:22 +0200
committerJannis M. Hoffmann <jannis@fehcom.de>2023-09-29 20:40:22 +0200
commita520763609cdeb78704a523a03627e9a906849d5 (patch)
tree50ab896f315d82ad5d8711cbafc3493ffadb781a
parent80f8160370b297f7c81f9d77d9f6f8046634c259 (diff)
correct path in service
-rw-r--r--.gitignore1
-rw-r--r--install/jwebmail.service.in4
2 files changed, 3 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index 0f667ac..86b9bf2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -19,3 +19,4 @@ build.ninja
.ninja_log
lib/JWebmail/Config.pm
.perlcriticrc
+install/jwebmail.service
diff --git a/install/jwebmail.service.in b/install/jwebmail.service.in
index afd0f17..8c03dde 100644
--- a/install/jwebmail.service.in
+++ b/install/jwebmail.service.in
@@ -4,8 +4,8 @@ After=network.target
[Service]
Type=exec
-ExecStart=hypnotoad -f jwebmail
-ExecReload=hypnotoad -f jwebmail
+ExecStart=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
+ExecReload=hypnotoad -f @DESTDIR@@PERL_BIN_PATH@/jwebmail
PIDFile=/run/jwebmail/hypnotoad.pid
Environment=MOJO_LOG_SHORT=1 MOJO_CONFIG=@DESTDIR@@PREFIX@/@CONFDIR@/jwebmail.toml
User=jwebmail