3 ms·
I am a solopreneur with Smart Kiosks running on Raspberry pi. The whole service (which isn't too complex) is a file script in Ruby managed through SystemD. Thi
by juanse 4y ago
I am a solopreneur with Smart Kiosks running on Raspberry pi.
The whole service (which isn't too complex) is a file script in Ruby managed through SystemD. This script turns off/on the screen based on API calls, and is also in charge of scheduled/remote restarts, pinging the backend and stuff like that.
What I like the most is how easy and reliable is. Beeing a below average guy, ruby makes really easy to combine system calls, API calls and shell commands within the same context.