Add example recovery service.
authorDavin McCall <davmac@davmac.org>
Sat, 25 May 2019 07:53:03 +0000 (17:53 +1000)
committerDavin McCall <davmac@davmac.org>
Sat, 25 May 2019 07:53:03 +0000 (17:53 +1000)
doc/linux/services/recovery [new file with mode: 0644]

diff --git a/doc/linux/services/recovery b/doc/linux/services/recovery
new file mode 100644 (file)
index 0000000..ee9cee3
--- /dev/null
@@ -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