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