view vanlogger.service @ 32:b6f96e8738ca

Add install script to create service entry and rc.local resurrecter
author Daniel O'Connor <darius@dons.net.au>
date Mon, 13 Dec 2021 18:17:12 +1030
parents efe1954da8ca
children
line wrap: on
line source

# /lib/systemd/system/vanlogger.service
[Unit]
Description=Van logging

[Service]
User=pi
Group=pi
Type=simple
ExecStart=/home/pi/vanlogger/vanlogger.py
Restart=on-failure

[Install]
WantedBy=multi-user.target