summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/rsyslog/files/rsyslog.service9
1 files changed, 7 insertions, 2 deletions
diff --git a/app-admin/rsyslog/files/rsyslog.service b/app-admin/rsyslog/files/rsyslog.service
index c64a9ea122a5..8af064d2cefc 100644
--- a/app-admin/rsyslog/files/rsyslog.service
+++ b/app-admin/rsyslog/files/rsyslog.service
@@ -1,13 +1,18 @@
[Unit]
Description=System Logging Service
-Requires=syslog.socket
+;Requires=syslog.socket
+Conflicts=syslog-ng.service syslogd.service
Documentation=man:rsyslogd(8)
Documentation=man:rsyslog.conf(5)
Documentation=https://www.rsyslog.com/doc/
[Service]
Type=notify
-ExecStart=/usr/sbin/rsyslogd -n -iNONE
+Environment=RSYSLOGD_PARAMS=
+EnvironmentFile=-/etc/default/rsyslog
+ExecStart=/usr/sbin/rsyslogd -n -iNONE $RSYSLOGD_PARAMS
+ExecReload=/bin/kill -HUP $MAINPID
+UMask=0066
StandardOutput=null
Restart=on-failure