Skip to main content
Topic: Can someone help me convert an OpenRC/SystemD service to a Dinit service? (Read 228 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Can someone help me convert an OpenRC/SystemD service to a Dinit service?

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
Hello.

Please check this


Re: Can someone help me convert an OpenRC/SystemD service to a Dinit service?

Reply #3
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(