diff --git a/wireguard/wg-health-api.service b/wireguard/wg-health-api.service new file mode 100644 index 0000000..a399465 --- /dev/null +++ b/wireguard/wg-health-api.service @@ -0,0 +1,11 @@ +[Unit] +Description=WireGuard Health Check API for Uptime Kuma +After=network.target + +[Service] +# The path to python3 might be different, find it with `which python3` +ExecStart=/usr/bin/python3 /var/status/wg_health.py +Restart=always + +[Install] +WantedBy=multi-user.target \ No newline at end of file