This is a little I started to help my 2 year old son know when it is time to wake up and when it is time to keep sleeping.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sleeplight.service 315B

1234567891011121314151617
  1. [Unit]
  2. Description=SleepLight (Controls the gpio pins to light LEDs at bedtime)
  3. After=syslog.target
  4. After=time-sync.target
  5. [Service]
  6. RestartSec=2s
  7. Type=simple
  8. User=root
  9. Group=root
  10. WorkingDirectory=/opt/sleeplight
  11. ExecStart=/usr/local/bin/node ./runSchedule.js
  12. Restart=always
  13. [Install]
  14. WantedBy=multi-user.target