summaryrefslogtreecommitdiffstats
path: root/rsyslog.service.in
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2010-12-03 00:55:48 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-12-03 14:54:07 +0100
commitda75472096c45dd136d41c6e9ad7bf740069d3a1 (patch)
treedbf50fa1d3a96ef30ea1fdade714575ef29e211b /rsyslog.service.in
parent1bfb97e576d779a709e1e2979eef4697b9b0cd16 (diff)
downloadrsyslog-da75472096c45dd136d41c6e9ad7bf740069d3a1.tar.gz
rsyslog-da75472096c45dd136d41c6e9ad7bf740069d3a1.tar.xz
rsyslog-da75472096c45dd136d41c6e9ad7bf740069d3a1.zip
systemd: add ExecReload command (using kill -HUP)
http://0pointer.de/public/systemd-man/systemd.service.html
Diffstat (limited to 'rsyslog.service.in')
-rw-r--r--rsyslog.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/rsyslog.service.in b/rsyslog.service.in
index b3c55515..2bcde528 100644
--- a/rsyslog.service.in
+++ b/rsyslog.service.in
@@ -3,6 +3,7 @@ Description=System Logging Service
[Service]
ExecStart=@sbindir@/rsyslogd -n -c5
+ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target