summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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