From a7a92a06a47322dee45664db5c7bfa68b2b95edb Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Wed, 23 Sep 2020 07:03:02 +0000 Subject: [PATCH] Remove obsolete setting regarding the Standard Output The Standard output type "syslog" is obsolete, causing a warning since systemd version 246 [1]. Please consider using "journal" or "journal+console" [1] https://github.com/systemd/systemd/blob/master/NEWS#L202 Signed-off-by: Mingli Yu --- config/init/systemd/lxc-monitord.service.in | 2 -- config/init/systemd/lxc@.service.in | 2 -- 2 files changed, 4 deletions(-) diff --git a/config/init/systemd/lxc-monitord.service.in b/config/init/systemd/lxc-monitord.service.in index f528a6099..9036cf46c 100644 --- a/config/init/systemd/lxc-monitord.service.in +++ b/config/init/systemd/lxc-monitord.service.in @@ -6,8 +6,6 @@ Documentation=man:lxc [Service] Type=simple ExecStart=@LIBEXECDIR@/lxc/lxc-monitord --daemon -StandardOutput=syslog -StandardError=syslog [Install] WantedBy=multi-user.target diff --git a/config/init/systemd/lxc@.service.in b/config/init/systemd/lxc@.service.in index a2aa2211f..21ce64aef 100644 --- a/config/init/systemd/lxc@.service.in +++ b/config/init/systemd/lxc@.service.in @@ -14,8 +14,6 @@ ExecStop=@BINDIR@/lxc-stop -n %i # Environment=BOOTUP=serial # Environment=CONSOLETYPE=serial Delegate=yes -StandardOutput=syslog -StandardError=syslog [Install] WantedBy=multi-user.target