Comment by kennysoona
3 months ago
It doesn't mean creating a shell-script, when you install a package it comes with an openrc script. rc-update add servicename just adds it to the list of services to start on boot.
I have no problem with config, but openrc is simple and intuitive enough that no config file is needed.
Sorry - I might've miscommunicated. That side of things sounds fine, but it's the creating of the script itself that I think is nicer as configuration.
If you need to create a script, and generally you don't, then you just copy a template that has start, stop and restart functions. Generally it's not more than launching an executable and killing a process or doing both.
It's certainly not more complicated than authoring a unit file.