Mercurial > ~darius > hgwebdir.cgi > vanlogger
changeset 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 | 57dece5674e3 |
children | 4d97dfb07169 |
files | vanlogger.service |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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