How do I create a service directory for the use with runit?
Service directories usually are placed into the /etc/sv/ directory. Create a new directory for your service in /etc/sv/, put a ./run script into it, and make the script executable. Note that for the use with runit, service daemons must not put themself into the background, but must run in the foreground.
Related Questions
- I created a service directory for a service that should run under runit service supervision. How do I tell runit about the new service directory, so that it picks up and runs the service by default?
- What will suppliers have to do to create and manage catalogues on the Zanzibar Managed Service?
- How do I create a service directory with an appendant log service for the use with runit?