PiPower/Pi/pipower.service

17 lines
337 B
SYSTEMD
Raw Normal View History

2017-03-22 11:13:11 +00:00
# PiPower
# Copyright 2017 (c) Mark van Renswoude
#
# Yet another power supply for the Raspberry Pi.
# Designed to run on an ATTiny85 with a self-locking button.
[Unit]
Description=PiPower
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/python /home/pi/pipower.py
Restart=on-abort
[Install]
WantedBy=multi-user.target