I see systemctl has this --user command for connecting to your user service manager. Is there a way to connect to somebody else's service manager? Like say I'm root and I want to put something in user $OTHERUSER's user service manager. I guess I just use sudo -u $OTHERUSER?
Well I was hoping that when you use it for its actual intended purpose (initing) systemd would turn out to be pleasant and usable as opposed to obscurantist and sharp-edged like it has been for every other purpose I've tried to use it for, but
$ sudo -u bsky systemctl --user daemon-reload
Failed to connect to bus: No such file or directory
Nope. Nope!!!
Me: Systemd, please restart my services
journalctl has a --unit=UNIT command you can pass it that will cause it to journal for only one unit. The unit name here is defined by… what? The Description= in the .service file? The name of the .service file? The name of the .service file minus the suffix ".service"? A secret fourth thing?
Okay uhhhh I think I basically understand how to create and launch a systemd service now but I gotta say, despite it being a little less featureful I still think I like upstart better
@peterdrake Thank you… I will now never forget this again