diff 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
line wrap: on
line diff
--- a/vanlogger.service	Wed Sep 25 21:35:02 2019 +0930
+++ b/vanlogger.service	Wed Sep 25 21:35:23 2019 +0930
@@ -1,12 +1,14 @@
+# /lib/systemd/system/vanlogger.service
 [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
+Type=simple
+ExecStart=/home/pi/vanlogger/vanlogger.py
 Restart=on-failure
 
 [Install]
 WantedBy=multi-user.target
+