mirror of
https://github.com/systemd/systemd.git
synced 2025-02-27 01:57:35 +03:00
Otherwise, at the time systemd-soft-reboot.service succeeds, services which has Conflicts= and Before=soft-reboot.target may not be stopped yet, and may be SIGKILLed. Especially, systemd-journald.service has the dependencies, thus journal may be corrupted. See #32223. Follow-up for 13ffc60749df0ca7c76cfcac317b41a05679b364. Fixes #32834.
21 lines
688 B
SYSTEMD
21 lines
688 B
SYSTEMD
# SPDX-License-Identifier: LGPL-2.1-or-later
|
|
#
|
|
# This file is part of systemd.
|
|
#
|
|
# systemd is free software; you can redistribute it and/or modify it
|
|
# under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation; either version 2.1 of the License, or
|
|
# (at your option) any later version.
|
|
|
|
[Unit]
|
|
Description=Reboot System Userspace
|
|
Documentation=man:systemd.special(7)
|
|
DefaultDependencies=no
|
|
Requires=shutdown.target umount.target final.target
|
|
After=shutdown.target umount.target final.target
|
|
Requires=systemd-soft-reboot.service
|
|
Before=systemd-soft-reboot.service
|
|
AllowIsolate=yes
|
|
JobTimeoutSec=30min
|
|
JobTimeoutAction=soft-reboot-force
|