From 3cdcf35250e89fe401566db70d6008b709c74ff8 Mon Sep 17 00:00:00 2001 From: Jason Lixfeld Date: Tue, 10 Jul 2018 09:09:45 -0400 Subject: Added verbiage to set OXIDIZED_HOME correctly under Debian 8.8 w/systemd --- extra/oxidized.service | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/extra/oxidized.service b/extra/oxidized.service index ce1b1a3..7b05aa8 100644 --- a/extra/oxidized.service +++ b/extra/oxidized.service @@ -1,4 +1,10 @@ #For debian 8 put it in /lib/systemd/system/ +#To set OXIDIZED_HOME instead of the default: +# ~${oxidized_user}/.config/oxidized in debian 8, then uncomment +#(and modify as required) the "Environment" variable below so +#systemd sets the correct environment. Tested only on Debian 8.8. +#YMMV otherwise. +# #For RHEL / CentOS 7 put it in /etc/systemd/system/ #and call it with systemctl start oxidized.service @@ -11,6 +17,7 @@ Wants=network-online.target ExecStart=/usr/local/bin/oxidized User=oxidized KillSignal=SIGKILL +#Environment="OXIDIZED_HOME=/etc/oxidized" [Install] WantedBy=multi-user.target -- cgit v1.2.1