view vanlogger.service @ 30:a9df202d14b7

Use logging infra. Handle errors during startup nicely.
author Daniel O'Connor <darius@dons.net.au>
date Mon, 13 Dec 2021 18:16:11 +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