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

This commit is contained in:
2024-03-26 12:55:40 +00:00
parent 55c8a98c33
commit f59dd99470

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