Skip to content

Commit 86e1da6

Browse files
committed
feat: add sample systemd file
1 parent c87f805 commit 86e1da6

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

control/infolab-lights.service

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[Unit]
2+
Description=InfoLab Lights Control Service
3+
After=network.target
4+
5+
[Service]
6+
Type=simple
7+
ExecStart=/path/to/your/control --scene /path/to/your/scene.xml --pixels wss://your-pixel-source.example.com
8+
WorkingDirectory=/path/to/your/working/directory
9+
Restart=always
10+
RestartSec=5
11+
StartLimitIntervalSec=0
12+
# This makes systemd ignore the exit code 1
13+
SuccessExitStatus=1
14+
15+
[Install]
16+
WantedBy=multi-user.target

0 commit comments

Comments
 (0)