[thermostat] Fix thermostat-storage systemd service.
jerboaa
jerboaa at fedoraproject.org
Wed Mar 18 20:31:13 UTC 2015
commit dfafb68818ffb49bc05dc5582dae109c2650e381
Author: Severin Gehwolf <sgehwolf at redhat.com>
Date: Wed Mar 18 20:11:34 2015 +0100
Fix thermostat-storage systemd service.
thermostat.spec | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/thermostat.spec b/thermostat.spec
index 3233128..c8197bf 100644
--- a/thermostat.spec
+++ b/thermostat.spec
@@ -80,7 +80,7 @@ Name: %{?scl_prefix}thermostat
Version: %{major}.%{minor}.%{patchlevel}
# If building from snapshot out of hg, uncomment and adjust below value as appropriate
#Release: 0.1.20131122hg%{hgrev}%{?dist}
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: A monitoring and serviceability tool for OpenJDK
License: GPLv2+ with exceptions and OFL
URL: http://icedtea.classpath.org/thermostat/
@@ -612,6 +612,7 @@ cp thermostat_sysconfig.env %{buildroot}%{system_confdir}/sysconfig/%{pkg_name}
# Set up directory structure for running thermostat storage/
# thermostat agend via systemd
%{__install} -d -m 0775 %{buildroot}%{system_datadir}
+echo "setup-complete.stamp for thermostat-storage systemd service" > %{buildroot}%{system_datadir}/setup-complete.stamp
%{__install} -d -m 0775 %{buildroot}%{system_cachedir}
%{__install} -d -m 0775 %{buildroot}%{system_logdir}
%{__install} -d -m 0775 %{buildroot}%{system_statedir}
@@ -757,6 +758,7 @@ end
# To these directories get written to when thermostat storage/agent
# run as systemd services
%attr(0770,thermostat,thermostat) %dir %{system_datadir}
+%attr(0660,thermostat,thermostat) %{system_datadir}/setup-complete.stamp
%attr(0770,thermostat,thermostat) %dir %{system_cachedir}
%attr(0770,thermostat,thermostat) %dir %{system_logdir}
%attr(0770,thermostat,thermostat) %dir %{system_statedir}
@@ -778,6 +780,9 @@ end
%config(noreplace) %{system_confdir}/sysconfig/tomcat@%{pkg_name}
%changelog
+* Wed Mar 18 2015 Severin Gehwolf <sgehwolf at redhat.com> - 1.2.2-3
+- Fix thermostat-storage systemd service.
+
* Mon Mar 16 2015 Severin Gehwolf <sgehwolf at redhat.com> - 1.2.2-2
- Re-enable self-BR (for proper xmvn-subst substitution).
More information about the scm-commits
mailing list