Skip to content

Instantly share code, notes, and snippets.

@Bouni
Created May 31, 2018 10:34
Show Gist options
  • Save Bouni/54d12338cba67aaef1807d0c0f56d523 to your computer and use it in GitHub Desktop.
Save Bouni/54d12338cba67aaef1807d0c0f56d523 to your computer and use it in GitHub Desktop.
systemd service file for connectapi.py script
[Unit]
Description=Script das Seriel Alarmdaten von einem DME empfängt und via API an Connect weiterleitet
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=10
ExecStart=/home/pi/connectapi/connectapi.py
User=pi
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment