s6-rc: remove a couple more unused files from the live dir
This commit is contained in:
parent
cb8e9b7a23
commit
2cabe51956
|
@ -290,12 +290,13 @@ in
|
|||
s6-svscanctl -tb "$SCANDIR"
|
||||
wait "$SVSCAN"
|
||||
|
||||
# cleanup the servicedirs: remove files which s6-svscan will want to create for itself
|
||||
# cleanup the servicedirs: remove files which s6-svscan will want to create for itself.
|
||||
# TODO: is it also worth removing the binaries, which should be ignored, as a precaution?
|
||||
rm "$LIVE/servicedirs"/*/supervise/{control,death_tally,lock,status}
|
||||
rmdir "$LIVE/servicedirs"/*/{event,supervise}
|
||||
mkdir "$LIVE/servicedirs/.s6-svscan"
|
||||
|
||||
# remove unnecessary, duplicated dirs
|
||||
mv "$SCANDIR/.s6-svscan" "$LIVE/servicedirs/"
|
||||
rm -rf "$SCANDIR"
|
||||
rm -rf "$COMPILED/servicedirs"
|
||||
rm "$LIVE/scandir"
|
||||
|
|
Loading…
Reference in New Issue