Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
README.textile | 2017-11-09 | 452 Bytes | |
reset_btn | 2017-11-09 | 5.6 kB | |
reset_btn_svc | 2017-11-09 | 5.1 kB | |
Totals: 3 Items | 11.2 kB | 0 |
reset_btn and reset_btn_service:
- The service launch script reset_btn_service is called by systemd,
and it provides the start/stop/restart/status interface. - The service daemon script reset_btn listens for button press/hold
on an external physical button so that we can trigger events.
Create a directory /srv/reset_btn and put these scripts in there,
with 755 or 555 permissions. Change the owner:group to root:root.