aboutsummaryrefslogtreecommitdiffstats
path: root/neohub_listener.service
diff options
context:
space:
mode:
authorDennis Eriksen <d@ennis.no>2023-07-11 10:24:19 +0200
committerDennis Eriksen <d@ennis.no>2023-07-11 10:24:19 +0200
commitbf3df41f4bf914ae8a800f598dd4a9479e674f13 (patch)
tree5b66fabdce5cbbe5b898c1fbad2b1a4d6fb0ac86 /neohub_listener.service
parentupdating some requirements, adding req-file for systems without the pkg crypt... (diff)
downloadenergyscripts-bf3df41f4bf914ae8a800f598dd4a9479e674f13.tar.gz
new systemd-service with some protections
Diffstat (limited to '')
-rw-r--r--neohub_listener.service17
1 files changed, 0 insertions, 17 deletions
diff --git a/neohub_listener.service b/neohub_listener.service
deleted file mode 100644
index 880d08f..0000000
--- a/neohub_listener.service
+++ /dev/null
@@ -1,17 +0,0 @@
-[Unit]
-Description=Simple service to start neohub listener
-StartLimitIntervalSec=100
-StartLimitBurst=5
-
-[Service]
-Type=simple
-EnvironmentFile=%h/energyscripts/.env
-WorkingDirectory=%h/energyscripts
-ExecStart=%h/energyscripts/venv/bin/python3 -u scripts/neohub.py
-Restart=on-failure
-TimeoutStopSec=70
-RestartSec=30
-SyslogIdentifier=%N
-
-[Install]
-WantedBy=default.target