summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2021-04-06 01:36:48 +0200
committerThomas Deutschmann <whissi@gentoo.org>2021-04-06 01:37:28 +0200
commit0d1455ab4a584695dfd81f7a1df9ce05aea4f27d (patch)
treee861778a7084e37f4704b482de3f58658560165e /app-admin/rsyslog/files
parentgames-util/antimicro: include SDL 2 patch (diff)
downloadgentoo-0d1455ab4a584695dfd81f7a1df9ce05aea4f27d.tar.gz
gentoo-0d1455ab4a584695dfd81f7a1df9ce05aea4f27d.tar.bz2
gentoo-0d1455ab4a584695dfd81f7a1df9ce05aea4f27d.zip
app-admin/rsyslog: update systemd service file
Bug: https://bugs.gentoo.org/740262 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'app-admin/rsyslog/files')
-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