Mercurial > ~darius > hgwebdir.cgi > vanlogger
comparison vanlogger.service @ 18:9e538d88816f
Don't bother with tmux so systemd can restart us
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Fri, 23 Feb 2018 16:19:11 +1030 |
parents | 40a3b403a096 |
children | efe1954da8ca |
comparison
equal
deleted
inserted
replaced
17:57dece5674e3 | 18:9e538d88816f |
---|---|
2 Description=Van logging | 2 Description=Van logging |
3 | 3 |
4 [Service] | 4 [Service] |
5 User=pi | 5 User=pi |
6 Group=pi | 6 Group=pi |
7 Type=forking | 7 Type=simple |
8 ExecStart=/usr/bin/tmux new-session -s vanlogger -d /home/pi/vanlogger/vanlogger.py | 8 ExecStart=/home/pi/vanlogger/vanlogger.py |
9 Restart=on-failure | 9 Restart=on-failure |
10 | 10 |
11 [Install] | 11 [Install] |
12 WantedBy=multi-user.target | 12 WantedBy=multi-user.target |