diff options
author | Simon McVittie <smcv@debian.org> | 2020-08-28 10:26:39 +0100 |
---|---|---|
committer | Ray Strode <halfline@gmail.com> | 2020-08-31 13:30:19 +0000 |
commit | 7494be38dcdd9b528c8b2636ef683a0c865665dc (patch) | |
tree | 522eacd905ac8e6aa9f4d5caae154d9faf347177 | |
parent | b1074df097fe44d5327159d47182e86d272f3ef9 (diff) | |
download | gdm-7494be38dcdd9b528c8b2636ef683a0c865665dc.tar.gz |
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>
-rw-r--r-- | data/gdm.service.in | 2 |
1 files changed, 0 insertions, 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 |