New here on the forum and been dabbling with Linux for a couple of years now. I'm glad I finally managed to quit both OSX and MS but it's been a struggle I can promise you that.
Ok so I guess from reading my "subject" sentence that you understand I'm a newbie? But at least I've understood from ending up here on the Gentoo forum many times when googling "Daphile Gentoo" that Unsupported Software is the section to start a thread about anything that has to do with Daphile.
So ok here's what I would like to achieve, but first a little background; I got Daphile installed on a old mac mini 2009 and in general I'm very happy with it. It's very stable.
I really like most things with old Macs appart from one thing and that is the poor solution they adapted if there's a power failure (or outage maybe? I'm not sure. English is not my native language). As many thing Apple it works pretty fine as long as you ONLY use Apple products, in this case Os X. In Mac OS X, you can check "Start up automatically after a power failure" in the "Energy Saver System Preferences" to get it to boot up after a power failure.
But having this value checked doesn't make a persistent "BIOS/EFI" setting as one can set on a PC. It only gets set by Mac OS X on every boot ...e.g when using anything other than OS X booting up after power failure it doesn't work.
Or at least I thought so for quite a long time ...
I've searched for a solution to this for a very long time and finally today
So I followed the instructions for my type of Mac and tested the suggested command and Voila, magic!
"But say the joy that lasts" ...
Naturally I also wanted this to be "automatically" set every time the Mini/Daphile boots as desribed in the thread. But of course when following the instructions to create "a systemd startup service" to set this value at every boot I failed.
I basically don't now shit, but I guess because Daphile presumably uses OpenRC which how I understand it from reading wiki is "Gentoo's native init system".
So here's where any of you clever people come in (I hope ...) anyone who could guide me and solve this? E.g how should the "script" be written and where (what directory) should it be placed. And of course finally, how do I start it?
P,S, please don't expect too much of my very poor Linux skills. I'm on a very basic level, not very clever but on the other hand very stubborn and tenacious.

