man: don't recommend After=syslog.target anymore since we don't support non-socket-activatable syslogs anymore where that was ncessary

This commit is contained in:
Lennart Poettering 2011-08-31 01:35:43 +02:00
parent a17b785b5f
commit 4b7b2efb69
4 changed files with 3 additions and 21 deletions

View File

@ -705,24 +705,6 @@
operating
system-independent.</para></listitem>
<listitem><para>Since not all syslog
implementations are socket-activatable
yet, it is recommended to place an
<varname>After=syslog.target</varname>
dependency in service files for
daemons that can log to
syslog. <filename>syslog.target</filename>
then either pulls in the syslog daemon
itself or simply the activation
socket. A <varname>Wants=</varname> or
even <varname>Requires=</varname>
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.</para></listitem>
<listitem><para>Make sure to include
an <literal>[Install]</literal>
section including installation

View File

@ -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.

View File

@ -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

View File

@ -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