Mercurial > ~darius > hgwebdir.cgi > vanlogger
diff vanlogger.service @ 22:59cf68be7feb
add trivial README
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Sun, 22 Jul 2018 12:54:05 +0930 |
parents | 40a3b403a096 |
children | efe1954da8ca |
line wrap: on
line diff
--- a/vanlogger.service Fri Dec 22 16:30:45 2017 +0100 +++ b/vanlogger.service Sun Jul 22 12:54:05 2018 +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 +