17 lines
385 B
SYSTEMD
17 lines
385 B
SYSTEMD
|
[Unit]
|
||
|
Description=System Logger Daemon
|
||
|
Documentation=man:syslog-ng(8)
|
||
|
|
||
|
[Service]
|
||
|
Type=notify
|
||
|
ExecStart=/usr/sbin/syslog-ng -F $SYSLOGNG_OPTS -p /var/run/syslogd.pid
|
||
|
ExecReload=/bin/kill -HUP $MAINPID
|
||
|
EnvironmentFile=-/etc/default/syslog-ng
|
||
|
EnvironmentFile=-/etc/sysconfig/syslog-ng
|
||
|
StandardOutput=journal
|
||
|
StandardError=journal
|
||
|
Restart=on-failure
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|