X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fsyslog-ng%2Ffiles%2Fsyslog-ng.service;h=0598277b444bba5d3d1179e448bb0b952971f0e0;hb=04788f2ec54bcdf3b7db4954665ed70caf7ed9a5;hp=4d8fa2b6dcc30698c1a7f1498dfe745601334f99;hpb=7faf6599b286e6dc7bf8dc5ec0a0be099ce6ec51;p=mirror%2Fdsa-puppet.git diff --git a/modules/syslog-ng/files/syslog-ng.service b/modules/syslog-ng/files/syslog-ng.service index 4d8fa2b6d..0598277b4 100644 --- a/modules/syslog-ng/files/syslog-ng.service +++ b/modules/syslog-ng/files/syslog-ng.service @@ -1,15 +1,16 @@ [Unit] Description=System Logger Daemon Documentation=man:syslog-ng(8) +After=network-online.target unbound.service [Service] Type=notify -Sockets=syslog.socket ExecStart=/usr/sbin/syslog-ng -F ExecReload=/bin/kill -HUP $MAINPID -StandardOutput=null +StandardOutput=journal +StandardError=journal Restart=always +RestartSec=5 [Install] WantedBy=multi-user.target -Alias=syslog.service