[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: services: syslog: Use a PID file.
From: |
Ludovic Courtès |
Subject: |
06/06: services: syslog: Use a PID file. |
Date: |
Wed, 7 Sep 2016 09:50:03 +0000 (UTC) |
civodul pushed a commit to branch master
in repository guix.
commit afa54a38b738e6ddf4fb25757410cf7b24067b39
Author: Ludovic Courtès <address@hidden>
Date: Wed Sep 7 11:25:00 2016 +0200
services: syslog: Use a PID file.
* gnu/services/base.scm (syslog-service-type)[start]: Remove --no-detach
and use #:pid-file.
---
gnu/services/base.scm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 2c2962c..42094b5 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -907,8 +907,8 @@ Service Switch}, for an example."
(requirement '(user-processes))
(start #~(make-forkexec-constructor
(list #$(syslog-configuration-syslogd config)
- "--no-detach"
- "--rcfile" #$(syslog-configuration-config-file config))))
+ "--rcfile" #$(syslog-configuration-config-file config))
+ #:pid-file "/var/run/syslog.pid"))
(stop #~(make-kill-destructor))))))
;; Snippet adapted from the GNU inetutils manual.
- branch master updated (b393a44 -> afa54a3), Ludovic Courtès, 2016/09/07
- 04/06: gnu: rottlog: Adjust the default 'weekly' config., Ludovic Courtès, 2016/09/07
- 02/06: gnu: rottlog: Set default value for 'packdir'., Ludovic Courtès, 2016/09/07
- 05/06: gnu: inetutils: Use /var as the localstatedir., Ludovic Courtès, 2016/09/07
- 03/06: gnu: rottlog: Read configuration files from /etc/rottlog., Ludovic Courtès, 2016/09/07
- 06/06: services: syslog: Use a PID file.,
Ludovic Courtès <=
- 01/06: gnu: rottlog: Use 'modify-phases'., Ludovic Courtès, 2016/09/07