summaryrefslogtreecommitdiff
path: root/unit_files/server-status.service
blob: b9402dc5d76caf0eb4321cae427bda0eff832350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Check if servers are online
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
Restart=always
User=server_status
WorkingDirectory=/opt/server_status/src
ExecStart=/opt/server_status/venv/bin/python3 /opt/server_status/src/server_status.py

[Install]
WantedBy=multi-user.target