From 8a222294871e9cad42be0079e8092e37b5d9fd0e Mon Sep 17 00:00:00 2001 From: "Wyatt J. Miller" Date: Mon, 23 Nov 2020 04:50:08 +0000 Subject: [PATCH] added systemd service file --- bleak.service | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bleak.service diff --git a/bleak.service b/bleak.service new file mode 100644 index 0000000..5e54e24 --- /dev/null +++ b/bleak.service @@ -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