]> git.pld-linux.org Git - packages/syslog-ng.git/blob - syslog-ng-systemd.patch
Alias syslog-ng@.service to syslog-ng.service
[packages/syslog-ng.git] / syslog-ng-systemd.patch
1 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
2 --- syslog-ng-syslog-ng-3.14.1.orig/contrib/systemd/syslog-ng@.service  2018-02-26 15:32:28.000000000 +0100
3 +++ syslog-ng-syslog-ng-3.14.1/contrib/systemd/syslog-ng@.service       2018-03-30 15:26:03.000000000 +0200
4 @@ -7,11 +7,14 @@
5  Type=notify
6  EnvironmentFile=-/etc/default/syslog-ng@%i
7  EnvironmentFile=-/etc/sysconfig/syslog-ng@%i
8 -ExecStart=/usr/sbin/syslog-ng -F $OTHER_OPTIONS --cfgfile $CONFIG_FILE --control $CONTROL_FILE --persist-file $PERSIST_FILE --pidfile $PID_FILE
9 +EnvironmentFile=-/etc/sysconfig/syslog-ng
10 +ExecStartPre=-/bin/systemctl stop systemd-kmsg-syslogd.service
11 +ExecStart=/usr/sbin/syslog-ng -F $OTHER_OPTIONS --cfgfile /etc/syslog-ng/syslog-ng.conf -p /var/run/syslogd.pid --worker-threads=1024 $SYSLOGNG_OPTS
12  ExecReload=/bin/kill -HUP $MAINPID
13  StandardOutput=journal
14  StandardError=journal
15  Restart=on-failure
16  
17  [Install]
18 +Alias=syslog-ng.service
19  WantedBy=multi-user.target
This page took 0.023303 seconds and 3 git commands to generate.