diff --git a/.ex.jpg b/.ex.jpg new file mode 100644 index 0000000..08f3c71 Binary files /dev/null and b/.ex.jpg differ diff --git a/.ex.png b/.ex.png deleted file mode 100644 index 155aa6f..0000000 Binary files a/.ex.png and /dev/null differ diff --git a/README.md b/README.md index 9c2e3bb..0377e96 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,30 @@ # Void Service Control (VSC) ## 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: **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 $ 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 $ vsc d ``` -**Print help** +**Print help:** ```bash $ vsc --help ``` *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: -![](.ex.png) + +![](.ex.jpg) +