From: Davin McCall Date: Sat, 6 Jan 2018 23:47:13 +0000 (+0000) Subject: Sample service defs: enable smooth recovery for ttys. X-Git-Tag: v0.07 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=0138304640ada6e1584abf9fe57acc0e60e01de9;p=oweals%2Fdinit.git Sample service defs: enable smooth recovery for ttys. Also change dependency on ttys from depends-on to depends-ms. --- diff --git a/doc/linux/services/boot b/doc/linux/services/boot index 7269ca4..452a04b 100644 --- a/doc/linux/services/boot +++ b/doc/linux/services/boot @@ -3,12 +3,12 @@ type = internal # Each of these services starts a login prompt: -depends-on = tty1 -depends-on = tty2 -depends-on = tty3 -depends-on = tty4 -depends-on = tty5 -depends-on = tty6 +depends-ms = tty1 +depends-ms = tty2 +depends-ms = tty3 +depends-ms = tty4 +depends-ms = tty5 +depends-ms = tty6 waits-for = late-filesystems waits-for = dhcpcd diff --git a/doc/linux/services/tty1 b/doc/linux/services/tty1 index 844ece3..fa0ba17 100644 --- a/doc/linux/services/tty1 +++ b/doc/linux/services/tty1 @@ -3,3 +3,4 @@ command = /sbin/agetty tty1 linux-c restart = true depends-on = loginready termsignal = HUP +smooth-recovery = true diff --git a/doc/linux/services/tty2 b/doc/linux/services/tty2 index df3896d..0d1cfb3 100644 --- a/doc/linux/services/tty2 +++ b/doc/linux/services/tty2 @@ -3,3 +3,4 @@ command = /sbin/agetty tty2 linux-c restart = true depends-on = loginready termsignal = HUP +smooth-recovery = true diff --git a/doc/linux/services/tty3 b/doc/linux/services/tty3 index e75cc17..359f5e2 100644 --- a/doc/linux/services/tty3 +++ b/doc/linux/services/tty3 @@ -3,3 +3,4 @@ command = /sbin/agetty tty3 linux-c restart = true depends-on = loginready termsignal = HUP +smooth-recovery = true diff --git a/doc/linux/services/tty4 b/doc/linux/services/tty4 index a70ad04..46d9c1d 100644 --- a/doc/linux/services/tty4 +++ b/doc/linux/services/tty4 @@ -3,3 +3,4 @@ command = /sbin/agetty tty4 linux-c restart = true depends-on = loginready termsignal = HUP +smooth-recovery = true diff --git a/doc/linux/services/tty5 b/doc/linux/services/tty5 index 1958933..e2aed72 100644 --- a/doc/linux/services/tty5 +++ b/doc/linux/services/tty5 @@ -3,3 +3,4 @@ command = /sbin/agetty tty5 linux-c restart = true depends-on = loginready termsignal = HUP +smooth-recovery = true diff --git a/doc/linux/services/tty6 b/doc/linux/services/tty6 index c6511e8..e5d7107 100644 --- a/doc/linux/services/tty6 +++ b/doc/linux/services/tty6 @@ -3,3 +3,4 @@ command = /sbin/agetty tty6 linux-c restart = true depends-on = loginready termsignal = HUP +smooth-recovery = true