summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
+