From bf3df41f4bf914ae8a800f598dd4a9479e674f13 Mon Sep 17 00:00:00 2001 From: Dennis Eriksen Date: Tue, 11 Jul 2023 10:24:19 +0200 Subject: new systemd-service with some protections --- neohub_listener.service | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 neohub_listener.service (limited to 'neohub_listener.service') 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 -- cgit v1.2.3