[README.md] Added Instalation section.
This commit is contained in:
parent
33cebee08f
commit
c0407cb4d6
28
README.md
28
README.md
@ -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`.
|
Loading…
Reference in New Issue
Block a user