]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
units: change TimeoutSec=0 to TimeoutSec=infinity
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Jun 2023 07:29:51 +0000 (09:29 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Tue, 6 Jun 2023 17:23:43 +0000 (18:23 +0100)
Follow-up for #27936

Let's also update a bunch of static unit files, matching what we just
did for the generators.

test/units/autorelabel.service
units/rc-local.service.in
units/systemd-fsck-root.service.in
units/systemd-fsck@.service.in
units/systemd-growfs-root.service.in
units/systemd-growfs@.service.in
units/systemd-quotacheck.service.in

index aad7d111d5ac92e5c7dfa0785f0e4cf42dd5167d..dd0df8161bfa60eaf21b438b6cb2e189e3a116be 100644 (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
 
index 55e83dfe00733856bc7ef3742094a5bf4e42ccd4..6fb0838cdb46971a60af8429b66ec1194a14edab 100644 (file)
@@ -18,6 +18,6 @@ After=network.target
 [Service]
 Type=forking
 ExecStart={{RC_LOCAL_PATH}} start
-TimeoutSec=0
+TimeoutSec=infinity
 RemainAfterExit=yes
 GuessMainPID=no
index 8378df84c71887bf1843de4b533de5cf3aa4f9a5..8cfbe7ce9879022c480289c2fd57b504713524e0 100644 (file)
@@ -21,4 +21,4 @@ OnFailureJobMode=replace-irreversibly
 Type=oneshot
 RemainAfterExit=yes
 ExecStart={{ROOTLIBEXECDIR}}/systemd-fsck
-TimeoutSec=0
+TimeoutSec=infinity
index 06b91aea39c1f6c5c4537046b1fbd365c4e7bf73..d773229812e28778ca4ff4643b93ee1a104363b4 100644 (file)
@@ -20,4 +20,4 @@ Before=systemd-quotacheck.service shutdown.target
 Type=oneshot
 RemainAfterExit=yes
 ExecStart={{ROOTLIBEXECDIR}}/systemd-fsck %f
-TimeoutSec=0
+TimeoutSec=infinity
index 61b825672d27245487df724ff66a3a604b39b784..0468774cb0024c416ad5930db524eb0b4fc30217 100644 (file)
@@ -20,4 +20,4 @@ Before=shutdown.target
 Type=oneshot
 RemainAfterExit=yes
 ExecStart={{ROOTLIBEXECDIR}}/systemd-growfs /
-TimeoutSec=0
+TimeoutSec=infinity
index d7c90e96fceb4a5cbef89fa35f1c03271e34a981..90fb0a86619b837981b6c7803f2de4a566f81fee 100644 (file)
@@ -21,4 +21,4 @@ Before=shutdown.target
 Type=oneshot
 RemainAfterExit=yes
 ExecStart={{ROOTLIBEXECDIR}}/systemd-growfs %f
-TimeoutSec=0
+TimeoutSec=infinity
index 05c14ff8b6e77a5336e921606a998933e19c447a..60b56496fa8be70cc7a1ef9cd59ec818ebe8d1be 100644 (file)
@@ -22,4 +22,4 @@ Before=shutdown.target
 Type=oneshot
 RemainAfterExit=yes
 ExecStart={{ROOTLIBEXECDIR}}/systemd-quotacheck
-TimeoutSec=0
+TimeoutSec=infinity