diff 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
line wrap: on
line diff
--- a/vanlogger.service	Fri Feb 23 15:14:15 2018 +1030
+++ b/vanlogger.service	Fri Feb 23 16:19:11 2018 +1030
@@ -4,9 +4,9 @@
 [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
+WantedBy=multi-user.target
\ No newline at end of file