From 38ca7e592654cd28649a9103b841c98d320f01a7 Mon Sep 17 00:00:00 2001 From: +++ Date: Tue, 8 Sep 2020 17:59:13 +0200 Subject: [PATCH] =?UTF-8?q?systemd-unit=20f=C3=BCr=20watchdoor=20hinzugf?= =?UTF-8?q?=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- watchdoor.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 watchdoor.service 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