changeset 1359:a397b66516f2

Add tmpfiles.d config file for /var/run/thermostat On systems that use tmpfs for /var/run, our runtime data location for system users is deleted upon reboot. This prevents Thermostat from starting after the first reboot. This patch adds a tmpfiles.d config file, which systemd uses to recreate /var/run/thermostat upon every reboot. Reviewed-by: jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2013-November/008894.html
author Elliott Baron <ebaron@redhat.com>
date Fri, 22 Nov 2013 13:53:29 -0500
parents f0750a42ef85
children 240d2a595912
files distribution/systemd/tmpfiles.d/thermostat.conf
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/distribution/systemd/tmpfiles.d/thermostat.conf	Fri Nov 22 13:53:29 2013 -0500
@@ -0,0 +1,2 @@
+# Creates runtime data location for systems that use tmpfs for /var/run.
+D /var/run/thermostat 0775 @thermostat.system.user@ @thermostat.system.group@ -