Remove custom svc from user bundle

This commit is contained in:
TheSpad 2022-09-13 11:00:35 +01:00
parent 0cd410af3d
commit 914b1f16a4
No known key found for this signature in database
GPG key ID: 08F06191F4587860

View file

@ -110,6 +110,7 @@ process_custom_services_legacy() {
if [[ -n "$(/bin/ls -A /etc/s6-overlay/s6-rc.d/custom-svc-* 2>/dev/null)" ]]; then
echo "[custom-init] removing existing custom services..."
rm -rf /etc/s6-overlay/s6-rc.d/custom-svc-*
rm /etc/s6-overlay/s6-rc.d/user/contents.d/custom-svc-*
fi
# Make sure custom service directory exists and has files in it