From 2aecaa85363f92f42ad7f7a4cc4c9e8d729c3452 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Thu, 1 Mar 2012 16:57:57 +0100 Subject: 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 --- rsyslog.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'rsyslog.service.in') 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 -- cgit