[packages/syslog-ng] Alias syslog-ng at .service to syslog-ng.service

jajcus jajcus at pld-linux.org
Tue Apr 3 10:26:51 CEST 2018


commit 7a2b2b32f972de1574be68353d549d19df1b9eca
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date:   Fri Mar 30 15:26:38 2018 +0200

    Alias syslog-ng at .service to syslog-ng.service
    
    We don't want the init.d unit to be used instead.

 syslog-ng-systemd.patch | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
---
diff --git a/syslog-ng-systemd.patch b/syslog-ng-systemd.patch
index 24b12f8..e61e960 100644
--- a/syslog-ng-systemd.patch
+++ b/syslog-ng-systemd.patch
@@ -1,6 +1,7 @@
---- syslog-ng-syslog-ng-3.12.1/contrib/systemd/syslog-ng at .service.org	2017-11-02 15:33:39.811831015 +0100
-+++ syslog-ng-syslog-ng-3.12.1/contrib/systemd/syslog-ng at .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 at .service syslog-ng-syslog-ng-3.14.1/contrib/systemd/syslog-ng at .service
+--- syslog-ng-syslog-ng-3.14.1.orig/contrib/systemd/syslog-ng at .service	2018-02-26 15:32:28.000000000 +0100
++++ syslog-ng-syslog-ng-3.14.1/contrib/systemd/syslog-ng at .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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/syslog-ng.git/commitdiff/6599601ca6df31bf69056287048d5f7029d30f35



More information about the pld-cvs-commit mailing list