diff --git a/whois-monitor.service b/whois-monitor.service new file mode 100644 index 0000000..b667f38 --- /dev/null +++ b/whois-monitor.service @@ -0,0 +1,13 @@ +[Unit] +Description=Checks whois expiration +Wants=whois-monitor.timer + +[Service] +Type=oneshot +ExecStart=/usr/bin/python3 /app/whois/whois.py +WorkingDirectory=/app/whois +User=whois +Group=whois + +[Install] +WantedBy=multi-user.target