From 7730a6130826bc4e6e7680f85c75e33c11d24a92 Mon Sep 17 00:00:00 2001 From: "Jannis M. Hoffmann" Date: Mon, 2 Oct 2023 15:27:49 +0200 Subject: correct DESTDIR for dev_config and setup RuntimeDir for sd-service --- actions | 2 +- install/jwebmail.service.in | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/actions b/actions index d7083b4..57ca906 100755 --- a/actions +++ b/actions @@ -7,7 +7,7 @@ help_text= help_text="$help_text build\t[]\t\n" dev_config () { mkdir -p blib - ./configure -e extractrs -d blib + ./configure -e extractrs -d blib/ } help_text="$help_text unconfigure\t[]\tresets the build\n" 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 -- cgit v1.2.3