mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-02-02 09:47:03 +03:00
Merge pull request #6909 from sourcejedi/units
Unit dependency fixes (and cleanups)
This commit is contained in:
commit
fdb6343484
@ -11,8 +11,8 @@ Documentation=man:sulogin(8)
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
Conflicts=rescue.service
|
||||
Conflicts=syslog.socket
|
||||
Before=shutdown.target
|
||||
Before=rescue.service
|
||||
|
||||
[Service]
|
||||
Environment=HOME=/root
|
||||
|
@ -8,9 +8,6 @@
|
||||
[Unit]
|
||||
Description=Containers
|
||||
Documentation=man:systemd.special(7)
|
||||
Requires=basic.target
|
||||
Conflicts=rescue.service rescue.target
|
||||
After=basic.target rescue.service rescue.target
|
||||
Before=multi-user.target
|
||||
|
||||
[Install]
|
||||
|
@ -10,10 +10,15 @@ Description=Syslog Socket
|
||||
Documentation=man:systemd.special(7)
|
||||
Documentation=https://www.freedesktop.org/wiki/Software/systemd/syslog
|
||||
DefaultDependencies=no
|
||||
Before=sockets.target shutdown.target
|
||||
Before=sockets.target
|
||||
|
||||
# Don't allow logging until the very end
|
||||
Conflicts=shutdown.target
|
||||
Before=shutdown.target
|
||||
|
||||
# Don't try to activate syslog.service if sysinit.target has failed.
|
||||
Conflicts=emergency.service
|
||||
Before=emergency.service
|
||||
|
||||
[Socket]
|
||||
ListenDatagram=/run/systemd/journal/syslog
|
||||
|
@ -11,6 +11,7 @@ Documentation=man:systemd.special(5) man:systemd.offline-updates(7)
|
||||
After=system-update.target
|
||||
DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
Before=shutdown.target
|
||||
|
||||
# system-update-generator uses laccess("/system-update"), while a plain
|
||||
# ConditionPathExists=/system-update uses access("/system-update"), so
|
||||
|
@ -10,8 +10,6 @@ Description=Offline System Update
|
||||
Documentation=man:systemd.offline-updates(7)
|
||||
Documentation=man:systemd.special(7) man:systemd-system-update-generator(8)
|
||||
Requires=sysinit.target
|
||||
Conflicts=shutdown.target
|
||||
After=sysinit.target
|
||||
Before=shutdown.target
|
||||
AllowIsolate=yes
|
||||
Wants=system-update-cleanup.service
|
||||
|
@ -12,7 +12,7 @@ DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
Requires=systemd-networkd.service
|
||||
After=systemd-networkd.service
|
||||
Before=network-online.target
|
||||
Before=network-online.target shutdown.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
|
@ -12,7 +12,6 @@ DefaultDependencies=no
|
||||
Conflicts=shutdown.target
|
||||
After=sysroot.mount
|
||||
Before=initrd-root-fs.target shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
AssertPathExists=/etc/initrd-release
|
||||
|
||||
[Service]
|
||||
|
Loading…
x
Reference in New Issue
Block a user