[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