( SzBlackY | 2019. 04. 14., v – 14:12 )

Ebből scriptelés lesz: https://github.com/OpenRC/openrc/blob/master/service-script-guide.md
Ami számodra érdekes:

If your daemon doesn't know how to change its own user or group, then you can tell start-stop-daemon to launch it as an unprivileged user with

command_user="user:group"

(vagy tudod, az is megoldás, hogy nem szívatod magad, átállsz systemd-re és egy 5 soros szöveges fájllal oldod meg ;) )

Szerk.: Itt kifejezett copy-pastelhető példakódokat is találsz: https://wiki.gentoo.org/wiki/Handbook:X86/Working/Initscripts#Writing_i…

BlackY
--
"en is amikor bejovok dolgozni, nem egy pc-t [..] kapcsolok be, hanem a mainframe-et..." (sj)