A simple script that will allow you to manage runit services in Void Linux https://git.orudo.ru/trueold89/void-service-control
Go to file
trueold89 63a941b52b
Json files are h-readable now
2024-03-28 01:02:07 +03:00
VoidServiceControl Json files are h-readable now 2024-03-28 01:02:07 +03:00
.ex.jpg Update README.md 2024-03-25 07:42:56 +03:00
.gitignore You can now manage multiple services && main.py is now indexed in the repository 2024-03-27 23:45:34 +03:00
README.md Update README.md && setup.py 2024-03-28 00:07:21 +03:00
VoidTemplate Add xbps-src template 2024-03-28 00:07:28 +03:00
setup.py Update README.md && setup.py 2024-03-28 00:07:21 +03:00

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


Example: