units: change TimeoutSec=0 to TimeoutSec=infinity

Follow-up for #27936

Let's also update a bunch of static unit files, matching what we just
did for the generators.
This commit is contained in:
Lennart Poettering 2023-06-06 09:29:51 +02:00 committed by Luca Boccassi
parent cd8947d0d1
commit 1775872679
7 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ ConditionPathExists=|/.autorelabel
[Service]
ExecStart=sh -xec 'echo 0 >/sys/fs/selinux/enforce; fixfiles -f -F relabel; rm /.autorelabel; systemctl --force reboot'
Type=oneshot
TimeoutSec=0
TimeoutSec=infinity
RemainAfterExit=yes
StandardOutput=journal+console

View File

@ -18,6 +18,6 @@ After=network.target
[Service]
Type=forking
ExecStart={{RC_LOCAL_PATH}} start
TimeoutSec=0
TimeoutSec=infinity
RemainAfterExit=yes
GuessMainPID=no

View File

@ -21,4 +21,4 @@ OnFailureJobMode=replace-irreversibly
Type=oneshot
RemainAfterExit=yes
ExecStart={{ROOTLIBEXECDIR}}/systemd-fsck
TimeoutSec=0
TimeoutSec=infinity

View File

@ -20,4 +20,4 @@ Before=systemd-quotacheck.service shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart={{ROOTLIBEXECDIR}}/systemd-fsck %f
TimeoutSec=0
TimeoutSec=infinity

View File

@ -20,4 +20,4 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart={{ROOTLIBEXECDIR}}/systemd-growfs /
TimeoutSec=0
TimeoutSec=infinity

View File

@ -21,4 +21,4 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart={{ROOTLIBEXECDIR}}/systemd-growfs %f
TimeoutSec=0
TimeoutSec=infinity

View File

@ -22,4 +22,4 @@ Before=shutdown.target
Type=oneshot
RemainAfterExit=yes
ExecStart={{ROOTLIBEXECDIR}}/systemd-quotacheck
TimeoutSec=0
TimeoutSec=infinity