diff --git a/scripts/blinky-feed@.service b/scripts/blinky-feed@.service new file mode 100644 index 0000000..229df9f --- /dev/null +++ b/scripts/blinky-feed@.service @@ -0,0 +1,15 @@ +[Unit] +Description=blinky-feed - mode: %i +Requires=blinky.service +After=blinky.service + +[Service] +Type=simple +Environment="BLINKY_URL=localhost:3000" +Environment="BLINKY_TYPE=set" +Environment="BLINKY_DURATION=1000" +Environment="BLINKY_MODE=%i" +ExecStart=/opt/blinky/scripts/blinky-feed.sh + +[Install] +WantedBy=multi-user.target