mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
services: syslog: Adjust service for rsyslog compatibility.
* gnu/services/base.scm (syslog-shepherd-service): Change flag for designating configuration file. The long option is not compatible with rsyslog while the short is; switch to the short one. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
b732d702f9
commit
786aff3785
1 changed files with 2 additions and 1 deletions
|
|
@ -1678,7 +1678,8 @@ reload its settings file.")))
|
|||
;; action work as intended.
|
||||
(start #~(make-forkexec-constructor
|
||||
(list #$(syslog-configuration-syslogd config)
|
||||
#$(string-append "--rcfile=" syslog.conf)
|
||||
;; the -f option here is compatible with rsyslog
|
||||
#$(string-append "-f " syslog.conf)
|
||||
#$@(syslog-configuration-extra-options config))
|
||||
#:file-creation-mask #o137
|
||||
#:pid-file "/var/run/syslog.pid"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue