mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
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:
parent
a17b785b5f
commit
4b7b2efb69
@ -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
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user