comparison vanlogger.service @ 25:f870f42e95e0

no need for tmux naymore
author Daniel O'Connor <darius@dons.net.au>
date Wed, 25 Sep 2019 21:35:23 +0930
parents 40a3b403a096
children efe1954da8ca
comparison
equal deleted inserted replaced
24:bacb798e6731 25:f870f42e95e0
1 # /lib/systemd/system/vanlogger.service
1 [Unit] 2 [Unit]
2 Description=Van logging 3 Description=Van logging
3 4
4 [Service] 5 [Service]
5 User=pi 6 User=pi
6 Group=pi 7 Group=pi
7 Type=forking 8 Type=simple
8 ExecStart=/usr/bin/tmux new-session -s vanlogger -d /home/pi/vanlogger/vanlogger.py 9 ExecStart=/home/pi/vanlogger/vanlogger.py
9 Restart=on-failure 10 Restart=on-failure
10 11
11 [Install] 12 [Install]
12 WantedBy=multi-user.target 13 WantedBy=multi-user.target
14