Skip to content

Commit

Permalink
Sample service defs: enable smooth recovery for ttys.
Browse files Browse the repository at this point in the history
Also change dependency on ttys from depends-on to depends-ms.
  • Loading branch information
davmac314 committed Jan 6, 2018
1 parent 242a384 commit 0138304
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 6 deletions.
12 changes: 6 additions & 6 deletions doc/linux/services/boot
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions doc/linux/services/tty1
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ command = /sbin/agetty tty1 linux-c
restart = true
depends-on = loginready
termsignal = HUP
smooth-recovery = true
1 change: 1 addition & 0 deletions doc/linux/services/tty2
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ command = /sbin/agetty tty2 linux-c
restart = true
depends-on = loginready
termsignal = HUP
smooth-recovery = true
1 change: 1 addition & 0 deletions doc/linux/services/tty3
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ command = /sbin/agetty tty3 linux-c
restart = true
depends-on = loginready
termsignal = HUP
smooth-recovery = true
1 change: 1 addition & 0 deletions doc/linux/services/tty4
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ command = /sbin/agetty tty4 linux-c
restart = true
depends-on = loginready
termsignal = HUP
smooth-recovery = true
1 change: 1 addition & 0 deletions doc/linux/services/tty5
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ command = /sbin/agetty tty5 linux-c
restart = true
depends-on = loginready
termsignal = HUP
smooth-recovery = true
1 change: 1 addition & 0 deletions doc/linux/services/tty6
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ command = /sbin/agetty tty6 linux-c
restart = true
depends-on = loginready
termsignal = HUP
smooth-recovery = true

0 comments on commit 0138304

Please sign in to comment.