Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing info from manual install doc #552

Open
ANOka79 opened this issue Dec 3, 2023 · 3 comments
Open

Missing info from manual install doc #552

ANOka79 opened this issue Dec 3, 2023 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@ANOka79
Copy link

ANOka79 commented Dec 3, 2023

I think this is missing from Manual Install.
(On Ubuntu) Start Scrutiny Webapp paragraph.

Scrutiny as service

Create a new file for service into /lib/systemd/system/scrutiny.service (example)

# /lib/systemd/system/scrutiny.service

[Unit]
Description=Scrutiny Web

[Service]
Directory=/opt/scrutiny/bin
ExecStart=/opt/scrutiny/bin/scrutiny-web-linux-amd64 start --config /opt/scrutiny/config/scrutiny.yaml --log-file /tmp/scrutiny_web.log
Type=simple
TimeoutStopSec=10
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target
Alias=scrutiny.service

Make symlink

sudo ln -s /lib/systemd/system/scrutiny.service /etc/systemd/system/scrutiny.service

Start service

sudo systemctl daemon-reload
sudo systemctl start scrutiny
@Porco-Rosso
Copy link

in order to 'enable' the service to start on reboot I found you need to just use:
systemctl enable /lib/systemd/system/scrutiny.service

This will automatically create the symlink, otherwise debian will give the warning: Failed to enable unit: Refusing to operate on alias name or linked unit file: scrutiny.service

@AnalogJ
Copy link
Owner

AnalogJ commented Sep 20, 2024

Hey @Porco-Rosso @ANOka79 can you open a PR to update the docs? I'd be happy to merge it

@AnalogJ AnalogJ added help wanted Extra attention is needed good first issue Good for newcomers labels Sep 20, 2024
@Porco-Rosso
Copy link

I'll give it a shot when I find time. But if anyone else wants to do it sooner, please feel free.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants