diff --git a/watchdoor.service b/watchdoor.service new file mode 100644 index 0000000..5ea4697 --- /dev/null +++ b/watchdoor.service @@ -0,0 +1,14 @@ +[Unit] +Description=Deamon for setting status API +After=systemd-network.service network.target + +[Service] +Type=simple +WorkingDirectory=/opt/watchdoor/ +ExecStart=/opt/watchdoor/watchdoor.py +SyslogIdentifier=watchdoor +User=statusd +Group=statusd + +[Install] +WantedBy=multi-user.target