diff options
author | Jason Lixfeld <jason-github@lixfeld.ca> | 2018-07-10 09:09:45 -0400 |
---|---|---|
committer | ytti <saku@ytti.fi> | 2018-07-10 16:40:55 +0300 |
commit | 3cdcf35250e89fe401566db70d6008b709c74ff8 (patch) | |
tree | b578364020fd0120fea6d836e8ef06e44cca1335 /extra/oxidized.service | |
parent | 9db0c31f5656d1b689fd6261079730366f15591c (diff) |
Added verbiage to set OXIDIZED_HOME correctly under Debian 8.8 w/systemd
Diffstat (limited to 'extra/oxidized.service')
-rw-r--r-- | extra/oxidized.service | 7 |
1 files changed, 7 insertions, 0 deletions
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 |