summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-10-01 15:40:49 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-10-01 15:40:49 +0100
commit5ef7a698b61b9863ae8dc5153022a723f8e2beee (patch)
tree7953e07e776f22b285fc4e165024254c539f63b8
parentbdbfbc34b841ec7cfa9c28ee6cc079db2e228276 (diff)
downloadpykolab-5ef7a698b61b9863ae8dc5153022a723f8e2beee.tar.gz
Add tmpfiles.d configuration files
-rw-r--r--kolabd/kolabd.tmpfiles.d.conf2
-rw-r--r--pykolab.spec.in4
-rw-r--r--wallace/wallace.tmpfiles.d.conf2
3 files changed, 8 insertions, 0 deletions
diff --git a/kolabd/kolabd.tmpfiles.d.conf b/kolabd/kolabd.tmpfiles.d.conf
new file mode 100644
index 0000000..ce98b6e
--- /dev/null
+++ b/kolabd/kolabd.tmpfiles.d.conf
@@ -0,0 +1,2 @@
+d /var/run/kolabd 750 kolab kolab
+
diff --git a/pykolab.spec.in b/pykolab.spec.in
index 90a8176..dff2481 100644
--- a/pykolab.spec.in
+++ b/pykolab.spec.in
@@ -150,6 +150,8 @@ mkdir -p %{buildroot}/%{_unitdir}
%{__install} -p -m 644 kolabd/kolabd.systemd %{buildroot}/%{_unitdir}/kolabd.service
%{__install} -p -m 644 saslauthd/kolab-saslauthd.systemd %{buildroot}/%{_unitdir}/kolab-saslauthd.service
%{__install} -p -m 644 wallace/wallace.systemd %{buildroot}/%{_unitdir}/wallace.service
+%{__install} -p -m 644 kolabd/kolabd.tmpfiles.d.conf %{buildroot}/%{_sysconfdir}/tmpfiles.d/kolabd.conf
+%{__install} -p -m 644 wallace/wallace.tmpfiles.d.conf %{buildroot}/%{_sysconfdir}/tmpfiles.d/wallace.conf
%else
mkdir -p %{buildroot}/%{_initddir}
%{__install} -p -m 755 kolabd/kolabd.sysvinit %{buildroot}/%{_initrddir}/kolabd
@@ -353,6 +355,7 @@ rm -rf %{buildroot}
%doc AUTHORS ChangeLog COPYING
%if 0%{?fedora} >= 15
%{_unitdir}/kolabd.service
+%{_sysconfdir}/tmpfiles.d/kolabd.conf
%else
%{_initrddir}/kolabd
%endif
@@ -371,6 +374,7 @@ rm -rf %{buildroot}
%doc AUTHORS ChangeLog COPYING
%if 0%{?fedora} >= 15
%{_unitdir}/wallace.service
+%{_sysconfdir}/tmpfiles.d/wallaced.conf
%else
%{_initrddir}/wallace
%endif
diff --git a/wallace/wallace.tmpfiles.d.conf b/wallace/wallace.tmpfiles.d.conf
new file mode 100644
index 0000000..7dd659a
--- /dev/null
+++ b/wallace/wallace.tmpfiles.d.conf
@@ -0,0 +1,2 @@
+d /var/run/wallaced 750 kolab kolab
+