From 313d3aa471cc5952b7df2b66ba9e687ca839ae5c Mon Sep 17 00:00:00 2001 From: T Date: Mon, 4 Nov 2024 18:00:20 +0100 Subject: [PATCH] add systemd unit --- deckensteuerung.service | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 deckensteuerung.service diff --git a/deckensteuerung.service b/deckensteuerung.service new file mode 100644 index 0000000..5e6dbce --- /dev/null +++ b/deckensteuerung.service @@ -0,0 +1,10 @@ +[Unit] +Description=Deckensteuerung Server + +[Service] +Type=exec +ExecStart=/usr/bin/python3 -u /home/ds/pixelserver2/main.py +WorkingDirectory=/home/ds/pixelserver2 + +[Install] +WantedBy=default.target