Alias syslog-ng@.service to syslog-ng.service
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 30 Mar 2018 13:26:38 +0000 (15:26 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Fri, 30 Mar 2018 13:26:38 +0000 (15:26 +0200)
We don't want the init.d unit to be used instead.

syslog-ng-systemd.patch

index 24b12f8e7afbfba9d2aa3bac7bd31d0aa3ee7fb6..e61e960b78d78c421cd18097ecc41e24d4c3f752 100644 (file)
@@ -1,6 +1,7 @@
---- syslog-ng-syslog-ng-3.12.1/contrib/systemd/syslog-ng@.service.org  2017-11-02 15:33:39.811831015 +0100
-+++ syslog-ng-syslog-ng-3.12.1/contrib/systemd/syslog-ng@.service      2017-11-02 15:35:08.237545976 +0100
-@@ -7,7 +7,9 @@ Conflicts=emergency.service emergency.ta
+diff -dur -x '*~' syslog-ng-syslog-ng-3.14.1.orig/contrib/systemd/syslog-ng@.service syslog-ng-syslog-ng-3.14.1/contrib/systemd/syslog-ng@.service
+--- syslog-ng-syslog-ng-3.14.1.orig/contrib/systemd/syslog-ng@.service 2018-02-26 15:32:28.000000000 +0100
++++ syslog-ng-syslog-ng-3.14.1/contrib/systemd/syslog-ng@.service      2018-03-30 15:26:03.000000000 +0200
+@@ -7,11 +7,14 @@
  Type=notify
  EnvironmentFile=-/etc/default/syslog-ng@%i
  EnvironmentFile=-/etc/sysconfig/syslog-ng@%i
@@ -11,3 +12,8 @@
  ExecReload=/bin/kill -HUP $MAINPID
  StandardOutput=journal
  StandardError=journal
+ Restart=on-failure
+ [Install]
++Alias=syslog-ng.service
+ WantedBy=multi-user.target
This page took 0.33121 seconds and 4 git commands to generate.