annotate vanlogger.service @ 20:d4356465dce1

Set limits for battery voltages to make graph comparison easier
author Daniel O'Connor <darius@dons.net.au>
date Tue, 27 Feb 2018 16:12:36 +1030
parents 9e538d88816f
children efe1954da8ca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
1 [Unit]
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
2 Description=Van logging
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
3
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
4 [Service]
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
5 User=pi
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
6 Group=pi
18
9e538d88816f Don't bother with tmux so systemd can restart us
Daniel O'Connor <darius@dons.net.au>
parents: 7
diff changeset
7 Type=simple
9e538d88816f Don't bother with tmux so systemd can restart us
Daniel O'Connor <darius@dons.net.au>
parents: 7
diff changeset
8 ExecStart=/home/pi/vanlogger/vanlogger.py
2
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
9 Restart=on-failure
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
10
ae0025a7409c Add systemd service file, copy to
Daniel O'Connor <darius@dons.net.au>
parents:
diff changeset
11 [Install]
18
9e538d88816f Don't bother with tmux so systemd can restart us
Daniel O'Connor <darius@dons.net.au>
parents: 7
diff changeset
12 WantedBy=multi-user.target