How do I create a service directory with an appendant log service for the use with runit?
First create the service directory for the service. Then create a subdirectory ./log in the service directory, again put a ./run script into it, and make the script executable. The ./run script must run a service logging daemon, normally this is the svlogd program. See the runsv man page for details.
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 for the use with runit?