Mercurial > ~darius > hgwebdir.cgi > vanlogger
annotate 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 |
rev | line source |
---|---|
25
f870f42e95e0
no need for tmux naymore
Daniel O'Connor <darius@dons.net.au>
parents:
7
diff
changeset
|
1 # /lib/systemd/system/vanlogger.service |
2
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
2 [Unit] |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
3 Description=Van logging |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
4 |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
5 [Service] |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
6 User=pi |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
7 Group=pi |
25
f870f42e95e0
no need for tmux naymore
Daniel O'Connor <darius@dons.net.au>
parents:
7
diff
changeset
|
8 Type=simple |
f870f42e95e0
no need for tmux naymore
Daniel O'Connor <darius@dons.net.au>
parents:
7
diff
changeset
|
9 ExecStart=/home/pi/vanlogger/vanlogger.py |
2
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
10 Restart=on-failure |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
11 |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
12 [Install] |
ae0025a7409c
Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff
changeset
|
13 WantedBy=multi-user.target |
25
f870f42e95e0
no need for tmux naymore
Daniel O'Connor <darius@dons.net.au>
parents:
7
diff
changeset
|
14 |