s6-rc: init services in the "down" state
This commit is contained in:
parent
55c8a98c33
commit
f59dd99470
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue