diff --git a/docs/INSTALL_MANUAL.md b/docs/INSTALL_MANUAL.md index 6746add..4f9c940 100644 --- a/docs/INSTALL_MANUAL.md +++ b/docs/INSTALL_MANUAL.md @@ -92,9 +92,62 @@ tar xvzf scrutiny-web-frontend.tar.gz --strip-components 1 -C . rm -rf scrutiny-web-frontend.tar.gz ``` -### Start Scrutiny Webapp +### Install Scrutiny systemd service -Finally, we start the Scrutiny webapp: +You may install Scrutiny as a systemd service: + +Create user and group for the service: + +``` +groupadd -r scrutiny +useradd -m -d /opt/scrutiny -s /sbin/nologin -r -g scrutiny scrutiny +``` + +Change file permissions: + +``` +chown -R scrutiny\:scrutiny /opt/scrutiny +``` + +Create the service unit file: + +``` +cat > /etc/systemd/system/scrutiny.service < /etc/systemd/system/scrutiny-collector.service < /etc/systemd/system/scrutiny-collector.timer <