-
Notifications
You must be signed in to change notification settings - Fork 12
Home
Faisal edited this page Apr 8, 2016
·
2 revisions
This is my take on alpine in docker along with runit as a supervisor inside. You simply need populate /etc/service/<service-folder>/run
with the service scripts you need. If you need to run pre-service code then the place to put it is /etc/runit_init.d/
. The startup script executes each script it finds there and then finally launches runit to supervise the created services. If any of the scripts in runit_init.d fail, the launch is aborted.