]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Remove obsolete setting regarding the Standard Output 3541/head
authorMingli Yu <mingli.yu@windriver.com>
Wed, 23 Sep 2020 07:03:02 +0000 (07:03 +0000)
committerMingli Yu <mingli.yu@windriver.com>
Wed, 23 Sep 2020 07:03:02 +0000 (07:03 +0000)
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 <mingli.yu@windriver.com>
config/init/systemd/lxc-monitord.service.in
config/init/systemd/lxc@.service.in

index f528a609959474074ca62a81f5cd3ca977631f47..9036cf46c7d20a42944e1461739f264dfe971ee5 100644 (file)
@@ -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
index a2aa2211f0f9649d257b7205966c207562c0e590..21ce64aefe9bc2a07fdc353e4d3ca4204ac40dc3 100644 (file)
@@ -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