Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
nano /etc/systemd/system/cpu-py.service
Description=cpu piglow python script
ExecStart=/usr/bin/python /usr/share/piglow/
Save: Ctrl o, then Exit: Ctrl x
systemctl daemon-reload
systemctl start cpu-py.service
Does it work? If yes, then:
systemctl enable cpu-py.service
Reboot - script should start automatically!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment