s6-rc: init services in the "down" state

This commit is contained in:
Colin 2024-03-26 12:55:40 +00:00
parent 55c8a98c33
commit f59dd99470
1 changed files with 2 additions and 0 deletions

View File

@ -268,6 +268,8 @@ let
# s6-rc-init gives each service one byte of state, initialized to zero. i mimic that here:
echo -n '\x00' >> $out/state
mkdir $out/servicedirs/$svc
# don't auto-start the service when i add the supervisor
touch $out/servicedirs/$svc/down
done
'';
in