Mercurial > ~darius > hgwebdir.cgi > vanlogger
changeset 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 | bacb798e6731 |
children | 00845d271007 |
files | vanlogger.service |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
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 +