A simple script that will allow you to manage runit services in Void Linux
https://git.orudo.ru/trueold89/void-service-control
trueold89 63a941b52b | ||
---|---|---|
VoidServiceControl | ||
.ex.jpg | ||
.gitignore | ||
README.md | ||
VoidTemplate | ||
setup.py |
README.md
Void Service Control (VSC)
A simple script that will allow you to manage runit services in Void Linux
Available on:
Install:
You can install vsc using pip:
From git.orudo.ru:
$ pip install https://git.orudo.ru/trueold89/void-service-control/releases/download/0.2.1/VoidServiceControl-0.2.1.tar.gz
or pypi
$ pip install void-service-control
Or by downloading the pre-built binary / xbps-package from the releases page
Install .xbps package:
& xbps-rindex -a *.xbps && xbps-install --repository=$PWD void-service-control
Usage:
Enbale service:
$ vsc e <service_name>
Disable service:
$ vsc d <service_name>
Action with multiple services:
$ vsc e <first_service_name> <second_service_name>
Print help:
$ vsc --help
All commands require root privileges
Build from sources
Clone repo:
$ git clone https://git.orudo.ru/trueold89/void-service-control.git --depth=1 && cd void-service-control
Install deps:
$ pip install setuptools
Build sdist:
$ python3 setup.py sdist
Install:
$ pip install dist/*
Last command require root privileges