1
0

[README.md] Added Instalation section.

This commit is contained in:
Alexander Andreev 2022-01-03 02:22:41 +04:00
parent 33cebee08f
commit c0407cb4d6
Signed by: Arav
GPG Key ID: 1327FE8A374CC86F

View File

@ -19,4 +19,30 @@ comma separated list of ONLY running process' names.
Configuration file is a simple key = value storage consisting of `listen_address` string Configuration file is a simple key = value storage consisting of `listen_address` string
field in form `"[<ip|host>]:<port>"`. `indented_output` bool in form `true|false`, to field in form `"[<ip|host>]:<port>"`. `indented_output` bool in form `true|false`, to
enable indentation of JSON and XML output. And `processes` is a space separated array enable indentation of JSON and XML output. And `processes` is a space separated array
of process names. of process names.
## Installation
### Manually
Run these commands one after the other.
```console
$ make
$ make install
$ make install-service
```
In order to uninstall run these commands:
```console
# systemctl stop httpprocwatchd
# systemctl disable httpprocwatchd
$ make uninstall-service
$ make uninstall
# systemctl daemon-reload
```
### For ArchLinux
You can take a [PKGBUILD](/Arav/httpprocwatchd/raw/branch/master/contrib/archlinux/PKGBUILD) file and in a directory with it run `makepkg -i`.