[gdm/wip/issue623: 13/13] data: Remove deprecated StandardOutput=syslog
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/issue623: 13/13] data: Remove deprecated StandardOutput=syslog
- Date: Mon, 31 Aug 2020 13:30:20 +0000 (UTC)
commit 7494be38dcdd9b528c8b2636ef683a0c865665dc
Author: Simon McVittie <smcv debian org>
Date: Fri Aug 28 10:26:39 2020 +0100
data: Remove deprecated StandardOutput=syslog
This is now equivalent to StandardOutput=journal, and recent versions
of systemd log a warning for it. Instead of updating it to journal,
remove it: the default if not specified is to respect the
DefaultStandardOutput setting from /etc/systemd/system.conf, which
in turn defaults to journal. Removing the explicit setting here means
gdm is included if a sysadmin edits system.conf to change the logging
destination for (almost) all system services at the same time, which
seems desirable.
Similarly, StandardError defaults to DefaultStandardError, which
in turn defaults to inherit, so we don't need to override it here.
Resolves: https://gitlab.gnome.org/GNOME/gdm/-/issues/623
Signed-off-by: Simon McVittie <smcv debian org>
data/gdm.service.in | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/data/gdm.service.in b/data/gdm.service.in
index fbbfb529..17e8a8de 100644
--- a/data/gdm.service.in
+++ b/data/gdm.service.in
@@ -25,8 +25,6 @@ KillMode=mixed
Restart=always
IgnoreSIGPIPE=no
BusName=org.gnome.DisplayManager
-StandardOutput=syslog
-StandardError=inherit
EnvironmentFile=-${LANG_CONFIG_FILE}
ExecReload=/bin/kill -SIGHUP $MAINPID
KeyringMode=shared
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]