From a520763609cdeb78704a523a03627e9a906849d5 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Fri, 29 Sep 2023 20:40:22 +0200 Subject: correct path in service --- .gitignore | 1 + install/jwebmail.service.in | 4 ++-- 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 -- cgit v1.2.3