Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 598 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 598 Bytes

How to run services with runit on Termux

  1. Install termux-services with pkg install termux-services
  2. Restart your shell so that the service-daemon is started
  3. Enable a service by running sv-enable <service>, or just start it with sv up <service>
  4. Check the log content of $PREFIX/var/log/sv/<service>/current in case there are problems

You can also stop services with sv down <service>, or disable them with sv-disable <service> A service is disabled if $PREFIX/var/service/<service>/down exists, so the sv-enable and sv-disable scripts touches, or removes, this file.