Linux examples: use reasonable start-timeout for filesystem services.
authorDavin McCall <davmac@davmac.org>
Mon, 8 Jan 2018 19:26:43 +0000 (19:26 +0000)
committerDavin McCall <davmac@davmac.org>
Mon, 8 Jan 2018 19:26:43 +0000 (19:26 +0000)
doc/linux/services/filesystems
doc/linux/services/late-filesystems

index 2cfea684ef96417cf68033849a615f06253d5f6e..1c2b7c517646cdcd27921a8f75b8aff7529c3465 100644 (file)
@@ -4,6 +4,8 @@ type = scripted
 command = /etc/dinit.d/filesystems.sh start
 restart = false
 logfile = /var/log/dinit-filesystems.log
+options = start-interruptible
+start-timeout = 1200   # 20 minutes
 
 depends-on = udevd
 depends-on = rootrw
index e5c264aa2537d07a546baadb7370c3b5d22ca5fb..a5f25dce5fafe6dd45e454fe19cb29c1319fa455 100644 (file)
@@ -5,5 +5,6 @@ command = /etc/dinit.d/late-filesystems.sh start
 restart = false
 logfile = /var/log/late-filesystems.log
 options = start-interruptible
+start-timeout = 1200   # 20 minutes 
 
 depends-on = rcboot