added systemd service file

This commit is contained in:
Wyatt J. Miller 2020-11-23 04:50:08 +00:00
parent 8ff9c943c6
commit 8a22229487

13
bleak.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Bleak, an LED "mood lighting" project
After=network.target
[Service]
Type=simple
Restart=always
RestartSec=1
User=pi
ExecStart=/home/pi/.cargo/bin/bleak
[Install]
WantedBy=multi-user.target