From 4d2ce76e753c808c588ddefc5bb746451efb5a24 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sun, 1 Nov 2020 13:13:12 +0100 Subject: [PATCH] eturnal: Set env variable `ETURNAL_ETC_PREFIX` for configuration file With `ETURNAL_ETC_PREFIX=/project/eturnal` eturnal uses `/project/eturnal/etc/eturnal.yml`. --- misc_systemd_units/eturnal.service | 1 + 1 file changed, 1 insertion(+) diff --git a/misc_systemd_units/eturnal.service b/misc_systemd_units/eturnal.service index ede0c61..c23873c 100644 --- a/misc_systemd_units/eturnal.service +++ b/misc_systemd_units/eturnal.service @@ -9,6 +9,7 @@ Documentation=https://github.com/processone/eturnal/blob/1.4.1/CHANGELOG.md [Service] Type=notify User=eturnprj +Environment=ETURNAL_ETC_PREFIX=/project/eturnal ExecStart=/project/eturnal/eturnal-current/bin/eturnalctl foreground ExecReload=/project/eturnal/eturnal-current/bin/eturnalctl reload ExecStop=/project/eturnal/eturnal-current/bin/eturnalctl stop