← Back to context

Comment by kennysoona

3 months ago

It's pretty easy, you can add stuff to a 'local' script that runs last, or just create a new service and rc-update add new-service to start it on boot.

I'm not sure what's involved in the second of those options, but I think the first, if it means creating a shell script of some sort, is why people like systemd. It's config-driven, not script-driven.

Now I'd be up for a better config format, or perhaps other implementations that use the systemd config format, but I think config is a pretty good idea.

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