From 7494be38dcdd9b528c8b2636ef683a0c865665dc Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 28 Aug 2020 10:26:39 +0100 Subject: 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 --- data/gdm.service.in | 2 -- 1 file changed, 2 deletions(-) (limited to 'data') 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 -- cgit v1.2.1