Service logs to syslog

This commit is contained in:
badaix 2020-06-06 13:46:26 +02:00
parent 0af19ca0cb
commit bb08600b19
3 changed files with 2 additions and 4 deletions

View file

@ -1,2 +1,2 @@
START_SNAPCLIENT=true
SNAPCLIENT_OPTS=""
SNAPCLIENT_OPTS="--logging.sink=system"

View file

@ -9,8 +9,6 @@ EnvironmentFile=-/etc/default/snapclient
ExecStart=/usr/bin/snapclient $SNAPCLIENT_OPTS
User=snapclient
Group=snapclient
# very noisy on stdout
StandardOutput=null
Restart=on-failure
[Install]

View file

@ -1,2 +1,2 @@
START_SNAPSERVER=true
SNAPSERVER_OPTS=""
SNAPSERVER_OPTS="--logging.sink=system"