Can someone help me convert an OpenRC/SystemD service to a Dinit service? 04 February 2025, 23:39:08 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
Re: Can someone help me convert an OpenRC/SystemD service to a Dinit service? Reply #1 – 05 February 2025, 16:15:41 Hello.Please check this
Re: Can someone help me convert an OpenRC/SystemD service to a Dinit service? Reply #2 – 06 February 2025, 01:28:18 Quote from: Ogis – on 05 February 2025, 16:15:41Hello.Please check thisIs there a way to trigger the service when exiting out of a state eg. Suspend?
Re: Can someone help me convert an OpenRC/SystemD service to a Dinit service? Reply #3 – 06 February 2025, 13:11:44 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_scriptshttps://wiki.artixlinux.org/Main/Elogind#Execute_a_script_at_suspendI say in theory because I've never done it. I just know it's supposed to work.You'd want post) not pre(