From ec04fb730deebc77150352ed681388ab9d5ad0d0 Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Sat, 25 May 2019 17:53:03 +1000 Subject: [PATCH] Add example recovery service. --- doc/linux/services/recovery | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 doc/linux/services/recovery diff --git a/doc/linux/services/recovery b/doc/linux/services/recovery new file mode 100644 index 0000000..ee9cee3 --- /dev/null +++ b/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 -- 2.25.1