syslog-ng service modification

"Reason: Since syslog-ng-3.12, the systemd unit file is templated and users should start/enable syslog-ng@default.service to get the previous behaviour. (Discuss in Talk:Syslog-ng#)"

Source: https://wiki.archlinux.org/index.php/Syslog-ng#Overview
This commit is contained in:
FredBezies 2018-09-21 22:58:21 +02:00 committed by GitHub
parent 29bd33cb6e
commit f6d8dbdd33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,7 +66,7 @@ for itm in $sel; do
;; ;;
'"syslog-ng"') '"syslog-ng"')
#echo "ForwardToSyslog=yes" >> /etc/systemd/journald.conf #echo "ForwardToSyslog=yes" >> /etc/systemd/journald.conf
systemctl enable syslog-ng systemctl enable syslog-ng@default
;; ;;
'"rsyslog"') '"rsyslog"')
systemctl enable rsyslog systemctl enable rsyslog