mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
units: drop dependencies of soft-reboot.target from systemd-journald@.service
The service deos not have DefaultDependencies=no. Hence it has dependencies
of shutdown.target, and dependencies of soft-reboot.target are not
necessary.
Follow-up for f89985ca49
.
This commit is contained in:
@@ -13,11 +13,6 @@ Documentation=man:systemd-journald.service(8) man:journald.conf(5)
|
|||||||
Requires=systemd-journald@%i.socket systemd-journald-varlink@%i.socket
|
Requires=systemd-journald@%i.socket systemd-journald-varlink@%i.socket
|
||||||
After=systemd-journald@%i.socket systemd-journald-varlink@%i.socket
|
After=systemd-journald@%i.socket systemd-journald-varlink@%i.socket
|
||||||
|
|
||||||
# To avoid journald SIGKILLed during soft-reboot and corrupting journals.
|
|
||||||
# See https://github.com/systemd/systemd/issues/30195
|
|
||||||
Before=soft-reboot.target
|
|
||||||
Conflicts=soft-reboot.target
|
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE
|
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID CAP_MAC_OVERRIDE
|
||||||
DevicePolicy=closed
|
DevicePolicy=closed
|
||||||
|
Reference in New Issue
Block a user