lidarr-on-steroids/root/etc/services.d/setup/finish

11 lines
289 B
Plaintext
Raw Normal View History

2022-07-14 23:04:14 +00:00
#!/usr/bin/with-contenv sh
# shellcheck shell=sh
SUPERVISED_DIR=/var/run/s6/services
# hack: this is run-once service
# stop the s6-supervise process and ensure that its not started again
s6-svc -x ${SUPERVISED_DIR}/setup
rm -rf ${SUPERVISED_DIR}/setup
s6-svscanctl -a ${SUPERVISED_DIR}