# HG changeset patch # User Severin Gehwolf # Date 1369398612 -7200 # Node ID cffa49e21080f8026fa386843e8311ea37e8577c # Parent d329d22447f499c978ce61b827fbd7d729ca8a83 Source additional file for setting THERMOSTAT_HOME for systemd files. Reviewed-by: omajid Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-May/006867.html diff -r d329d22447f4 -r cffa49e21080 distribution/systemd/thermostat-agent.service --- a/distribution/systemd/thermostat-agent.service Tue May 14 16:34:29 2013 +0200 +++ b/distribution/systemd/thermostat-agent.service Fri May 24 14:30:12 2013 +0200 @@ -45,6 +45,7 @@ [Service] Type=forking +EnvironmentFile=-/etc/sysconfig/thermostat ExecStart=@thermostat.home@/bin/thermostat-agent-sysd start ExecStop=@thermostat.home@/bin/thermostat-agent-sysd stop PIDFile=@thermostat.home@/agent/run/thermostat-agent.pid diff -r d329d22447f4 -r cffa49e21080 distribution/systemd/thermostat-storage.service --- a/distribution/systemd/thermostat-storage.service Tue May 14 16:34:29 2013 +0200 +++ b/distribution/systemd/thermostat-storage.service Fri May 24 14:30:12 2013 +0200 @@ -45,6 +45,7 @@ [Service] Type=forking +EnvironmentFile=-/etc/sysconfig/thermostat ExecStart=@thermostat.home@/bin/thermostat storage --start ExecStop=@thermostat.home@/bin/thermostat storage --stop PIDFile=@thermostat.home@/storage/run/db.pid