Browse Source

Add example recovery service.

Davin McCall 4 years ago
parent
commit
ec04fb730d
1 changed files with 7 additions and 0 deletions
  1. 7 0
      doc/linux/services/recovery

+ 7 - 0
doc/linux/services/recovery

@@ -0,0 +1,7 @@
+# Recovery service. Dinit will offer to start this service if boot fails;
+# we'll run "sulogin" from util-linux, to prompt for root password and then
+# run a shell.
+
+type = process
+command = /sbin/sulogin
+options = runs-on-console