[syslog-ng] [PATCH] contrib/systemd: Alias the service to syslog.service

Gergely Nagy algernon at balabit.hu
Fri Apr 20 10:07:26 CEST 2012


In order to be considered a syslog service, we need to Alias ourselves
to syslog.service. Doing this will make systemd consider syslog-ng a
valid syslogd service, without the alias, one has to do something
similar manually.

Signed-off-by: Gergely Nagy <algernon at balabit.hu>
---
 contrib/systemd/syslog-ng.service |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/contrib/systemd/syslog-ng.service b/contrib/systemd/syslog-ng.service
index 85c91e5..f9b9fe2 100644
--- a/contrib/systemd/syslog-ng.service
+++ b/contrib/systemd/syslog-ng.service
@@ -10,3 +10,4 @@ StandardOutput=null
 
 [Install]
 WantedBy=multi-user.target
+Alias=syslog.service
-- 
1.7.9.1




More information about the syslog-ng mailing list