aboutsummaryrefslogblamecommitdiffstats
path: root/neohub_listener.service
blob: 880d08f8a492f0d63b7abe2689e69d129ecf7439 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
















                                                                
[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