From 4b7b2efb69943aae0f8287df6e28b637c50fe318 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 31 Aug 2011 01:35:43 +0200 Subject: man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary --- man/daemon.xml | 18 ------------------ units/fedora/prefdm.service | 2 +- units/frugalware/display-manager.service | 2 +- units/mandriva/prefdm.service | 2 +- 4 files changed, 3 insertions(+), 21 deletions(-) diff --git a/man/daemon.xml b/man/daemon.xml index 4673794f09..997ee5b253 100644 --- a/man/daemon.xml +++ b/man/daemon.xml @@ -705,24 +705,6 @@ operating system-independent. - Since not all syslog - implementations are socket-activatable - yet, it is recommended to place an - After=syslog.target - dependency in service files for - daemons that can log to - syslog. syslog.target - then either pulls in the syslog daemon - itself or simply the activation - socket. A Wants= or - even Requires= - dependency should generally not be - added, since it should be up to the - administrator whether he wants to - enable logging or not, and most syslog - clients work fine if no log daemon is - running. - Make sure to include an [Install] section including installation diff --git a/units/fedora/prefdm.service b/units/fedora/prefdm.service index e7bd1231f8..17ed4cd786 100644 --- a/units/fedora/prefdm.service +++ b/units/fedora/prefdm.service @@ -7,7 +7,7 @@ [Unit] Description=Display Manager -After=syslog.target livesys-late.service rc-local.service systemd-user-sessions.service +After=livesys-late.service rc-local.service systemd-user-sessions.service # On Fedora gdm/X11 is on tty1. We explicitly cancel the getty here to # avoid any races around that. diff --git a/units/frugalware/display-manager.service b/units/frugalware/display-manager.service index e61422587a..2376e1977c 100644 --- a/units/frugalware/display-manager.service +++ b/units/frugalware/display-manager.service @@ -7,7 +7,7 @@ [Unit] Description=Display Manager -After=syslog.target local.service systemd-user-sessions.service +After=local.service systemd-user-sessions.service [Service] EnvironmentFile=/etc/sysconfig/desktop diff --git a/units/mandriva/prefdm.service b/units/mandriva/prefdm.service index d0c7f99c6e..4a896bf582 100644 --- a/units/mandriva/prefdm.service +++ b/units/mandriva/prefdm.service @@ -7,7 +7,7 @@ [Unit] Description=Display Manager -After=syslog.target livesys-late.service rc-local.service systemd-user-sessions.service +After=livesys-late.service rc-local.service systemd-user-sessions.service After=network.target acpid.service fs.service haldaemon.service # Do not stop plymouth, it is done in prefdm if required -- cgit v1.2.3-54-g00ecf