Update README.md
This commit is contained in:
parent
ddc5e0c72f
commit
326c163e61
44
README.md
44
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 <service_name>
|
|||
$ vsc d <service_name>
|
||||
```
|
||||
|
||||
**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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue