Update README.md

This commit is contained in:
trueold89 2024-03-25 07:40:19 +03:00
parent ddc5e0c72f
commit 326c163e61
Signed by: trueold89
GPG Key ID: C122E85DD49E6B30
3 changed files with 41 additions and 3 deletions

BIN
.ex.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

BIN
.ex.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 202 KiB

View File

@ -1,17 +1,30 @@
# Void Service Control (VSC) # Void Service Control (VSC)
## A simple script that will allow you to manage runit services in Void Linux ## A simple script that will allow you to manage runit services in Void Linux
- [Installation](#install)
- [Usage](#usage)
- [Build from sources](#build-from_sources)
- [Example (Screenshot)](#example)
### Install: ### Install:
**You can install vsc using pip:** **You can install vsc using pip:**
From [git.orudo.ru](https://git.orudo.ru/trueold89/void-service-control/releases):
```bash
$ pip install https://git.orudo.ru/trueold89/void-service-control/releases/download/0.2/VoidServiceControl-0.2.tar.gz
```
or pypi
```bash ```bash
$ pip install void-service-control $ pip install void-service-control
``` ```
--- ---
or by downloading the pre-built binary from the **[releases](https://git.orudo.ru/trueold89/void-service-control/releases)** page **Or by downloading the pre-built binary / xbps-package from the **[releases](https://git.orudo.ru/trueold89/void-service-control/releases)** page**
*** ***
@ -29,15 +42,40 @@ $ vsc e <service_name>
$ vsc d <service_name> $ vsc d <service_name>
``` ```
**Print help** **Print help:**
```bash ```bash
$ vsc --help $ vsc --help
``` ```
*All commands require root privileges* *All commands require root privileges*
### Build from sources
**Clone repo:**
```bash
$ git clone https://git.orudo.ru/trueold89/void-service-control.git --depth=1 && cd void-service-control
```
**Install deps:**
```bash
$ pip install setuptools
```
**Build sdist:**
```bash
$ python3 setup.py sdist
```
**Install:**
```bash
$ pip install dist/*
```
*Last command require root privileges*
*** ***
## Example: ## Example:
![](.ex.png)
![](.ex.jpg)