wallace/wallace.systemd wallace/wallace.tmpfiles.d.conf

Timotheus Pokorra pokorra at kolabsys.com
Mon Feb 23 07:33:30 CET 2015


 wallace/wallace.systemd         |    4 ++--
 wallace/wallace.tmpfiles.d.conf |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 24d68bfd402e2071402332fa61ed564a196c7cd4
Author: Timotheus Pokorra <tp at tbits.net>
Date:   Mon Feb 23 07:31:21 2015 +0100

    CentOS7 systemd: use /run/wallaced as location for the pid file (#4673) instead of a mix of /var/run/wallaced and /run/wallaced

diff --git a/wallace/wallace.systemd b/wallace/wallace.systemd
index 38a6604..c033269 100644
--- a/wallace/wallace.systemd
+++ b/wallace/wallace.systemd
@@ -4,11 +4,11 @@ After=syslog.target network.target
 
 [Service]
 Type=forking
-PIDFile=/var/run/wallaced/wallaced.pid
+PIDFile=/run/wallaced/wallaced.pid
 User=kolab
 Group=kolab
 EnvironmentFile=/etc/sysconfig/wallace
-ExecStart=/usr/sbin/wallaced $FLAGS
+ExecStart=/usr/sbin/wallaced $FLAGS --pid-file /run/wallaced/wallaced.pid
 ExecReload=/bin/kill -HUP $MAINPID
 ExecStop=/bin/kill -TERM $MAINPID
 
diff --git a/wallace/wallace.tmpfiles.d.conf b/wallace/wallace.tmpfiles.d.conf
index 7dd659a..b072311 100644
--- a/wallace/wallace.tmpfiles.d.conf
+++ b/wallace/wallace.tmpfiles.d.conf
@@ -1,2 +1,2 @@
-d /var/run/wallaced   750   kolab kolab
+d /run/wallaced   750   kolab kolab
 




More information about the commits mailing list