[F] unitfile for systemd added
This commit is contained in:
parent
99d076427b
commit
faa73ed645
12
pi/powerpi.service
Normal file
12
pi/powerpi.service
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
# Systemd unit file for powerpi
|
||||||
|
|
||||||
|
[Unit]
|
||||||
|
Description=PowerPi - Electric Energy Consumption Monitor
|
||||||
|
Requires=network-online.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
ExecStart=/srv/powerpi/power.py
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user