summaryrefslogtreecommitdiffstats
path: root/rsyslog.service.in
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-03-01 16:57:57 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-03-02 11:00:15 +0100
commit2aecaa85363f92f42ad7f7a4cc4c9e8d729c3452 (patch)
tree70dd7183f9b20d99e3d47f4f46b799e8b30ec852 /rsyslog.service.in
parente31e840d5d6bf823b7129132c5582f86d3693f6c (diff)
downloadrsyslog-2aecaa85363f92f42ad7f7a4cc4c9e8d729c3452.tar.gz
rsyslog-2aecaa85363f92f42ad7f7a4cc4c9e8d729c3452.tar.xz
rsyslog-2aecaa85363f92f42ad7f7a4cc4c9e8d729c3452.zip
Install syslog.service Alias for newer systemd versions
From the syslog.socket unit file of newer systemd versions: The default syslog implementation should make syslog.service a symlink to itself, so that this socket activates the right actual syslog service. Examples: /etc/systemd/system/syslog.service -> /lib/systemd/system/rsyslog.service /etc/systemd/system/syslog.service -> /lib/systemd/system/syslog-ng.service Best way to achieve that is by adding this to your unit file (i.e. to rsyslog.service or syslog-ng.service): [Install] Alias=syslog.service http://cgit.freedesktop.org/systemd/systemd/tree/units/syslog.socket#n26
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 c03c9004..aa9e5db1 100644
--- a/rsyslog.service.in
+++ b/rsyslog.service.in
@@ -9,3 +9,4 @@ StandardOutput=null
[Install]
WantedBy=multi-user.target
+Alias=syslog.service