When people complain about systemd "violating the unix philosophy", this is what they actually mean
When people complain about systemd "violating the unix philosophy", this is what they actually mean
Credit for the answer used in the right panel: https://serverfault.com/a/841150
When you hate something so much you have to find weird corner cases to support your views. Even then the way described isn’t how someone who knows that they are doing would do.
The best way for an unprivileged user to manage a service is for that user to run it. That way you inherit the correct permissions / acls / selinux contexts.
The command to do so is:
systemctl --user start the_service.service
What if multiple users have to manage that service?
Edit: nvrmnd, pretty sure the runnit solution won't allow this either, your answer is correct. What about while the service is already running? Wouldn't your solution require a restart?