Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save LosantGists/f4fb1f76e0e0c30b206e50a7289fa42e to your computer and use it in GitHub Desktop.

Select an option

Save LosantGists/f4fb1f76e0e0c30b206e50a7289fa42e to your computer and use it in GitHub Desktop.
edison-automatic-process-startup
[Unit]
Description=Hue Light Control Service
Wants=network-online.target
After=network-online.target
[Service]
ExecStart=/usr/bin/node /usr/local/hue-light-control/worker.js
User=nobody
Restart=on-failure
RestartSec=10
WorkingDirectory=/usr/local/hue-light-control/
Environment="HUE_BRIDGE_IP=192.168.86.199"
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment