I don't know how to write Dinit services and I looked online and found nothing that could help me, can someone help me convert these services to a Dinit service? Thanks!
EmixamPP/linux-enable-ir-emitter/boot_service
(https://github.com/EmixamPP/linux-enable-ir-emitter/tree/master/boot_service)
Hello.
Please check this (https://github.com/davmac314/dinit/blob/master/doc/getting_started.md)
Is there a way to trigger the service when exiting out of a state eg. Suspend?
If whatever this ir-emitter is, is failing to work after returning from suspend a script in /etc/elogind/system-sleep/ should in theory allow you to start it again.
https://wiki.gentoo.org/wiki/Elogind#Suspend.2FHibernate_Resume.2FThaw_hook_scripts
https://wiki.artixlinux.org/Main/Elogind#Execute_a_script_at_suspend
I say in theory because I've never done it. I just know it's supposed to work.
You'd want post) not pre(