From c0407cb4d617a09be865b32cedd37e48c73d77e9 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Mon, 3 Jan 2022 02:22:41 +0400 Subject: [PATCH] [README.md] Added Instalation section. --- README.md | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 201696a..1eb8924 100644 --- a/README.md +++ b/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 field in form `"[]:"`. `indented_output` bool in form `true|false`, to enable indentation of JSON and XML output. And `processes` is a space separated array -of process names. \ No newline at end of file +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`. \ No newline at end of file