sv
Control a running runsv service. More information: <https://manpages.ubuntu.com/manpages/latest/man8/sv.8.html>.
Install
- All systems
-
curl cmd.cat/sv.sh
- Debian
-
apt-get install runit - Ubuntu
-
apt-get install runit -
Alpine
-
apk add runit - Kali Linux
-
apt-get install runit - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install runit - OS X
-
brew install runit - Raspbian
-
apt-get install runit - Docker
-
docker run cmd.cat/sv svpowered by Commando
Control a running runsv service. More information: <https://manpages.ubuntu.com/manpages/latest/man8/sv.8.html>.
-
Start a service:
sudo sv up path/to/service -
Stop a service:
sudo sv down path/to/service -
Get service status:
sudo sv status path/to/service -
Reload a service:
sudo sv reload path/to/service -
Start a service, but only if it's not running and don't restart it if it stops:
sudo sv once path/to/service
© tl;dr; authors and contributors