view vanlogger.service @ 5:a831b92ffd5e

Add systemd service file (for real)
author Daniel O'Connor <darius@dons.net.au>
date Fri, 22 Dec 2017 13:04:11 +0100
parents
children 40a3b403a096
line wrap: on
line source

[Unit]
Description=Van logging

[Service]
User=pi
Group=pi
Type=forking
ExecStart=/usr/bin/tmux new-session -s vanlogger -d /home/pi/vanlogger/vanlogger.py
Restart=on-failure

[Install]
WantedBy=multi-user.target