Crates.io | rsv |
lib.rs | rsv |
version | 1.3.3 |
source | src |
created_at | 2020-10-19 18:32:19.453431 |
updated_at | 2020-12-05 15:16:23.593948 |
description | The runit sv command rewritten in rust with additional features |
homepage | |
repository | https://github.com/JojiiOfficial/rsv |
max_upload_size | |
id | 303041 |
size | 82,392 |
The runit sv command rewritten in rust with nice new features.
auto_sudo
. Used by default)(Add the repo like described)
pacman -S rsv
yay -S rsv
(Other AUR helpers will work too)
cargo install rsv
git clone https://github.com/JojiiOfficial/rsv
cd rsv
cargo build --release
rsv 1.1.0
Jojii S
A tool to maintain runit services like systemd services
USAGE:
rsv [FLAGS] [OPTIONS] [SUBCOMMAND]
FLAGS:
-h, --help Prints help information
-v, --verbose
-V, --version Prints version information
OPTIONS:
-t, --timeout <timeout>
SUBCOMMANDS:
list List services
enable Enable a service
disable Disable a service
start Start a service
stop Stop a service
restart Restart a service
kill Send SIGKILL if the service is running
pause Send SIGSTOP if the service is running
continue Send SIGCONT if the service is running
alarm Send SIGALARM if the service is running
help Prints this message or the help of the given subcommand(s)
hup Send SIGHUP if the service is running
interrupt Send SIGINT if the service is running
once Start if service is not running. Do not restart if it stops
status Get the status of a service
term Send SIGTERM if the service is running
sudo rsv list --disabled/--enabled # list all disabled/enabled services
sudo rsv list --enabled --down # list all enabled services which aren't running
sudo rsv enable cupsd # enabled cupsd
sudo rsv start cupsd # start cupsd service (enable if service is disabled)