Mercurial > ~darius > hgwebdir.cgi > vanlogger
comparison 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 |
comparison
equal
deleted
inserted
replaced
4:a7e9775b33f6 | 5:a831b92ffd5e |
---|---|
1 [Unit] | |
2 Description=Van logging | |
3 | |
4 [Service] | |
5 User=pi | |
6 Group=pi | |
7 Type=forking | |
8 ExecStart=/usr/bin/tmux new-session -s vanlogger -d /home/pi/vanlogger/vanlogger.py | |
9 Restart=on-failure | |
10 | |
11 [Install] | |
12 WantedBy=multi-user.target | |
13 |