Am 25.04.19 um 11:33 schrieb Michael Biebl: > Am 25.04.19 um 11:28 schrieb Michael Biebl: >> Thanks. So with the above, what you should get is that %h is resolved to >> /root, as you run that service as a system service. Or is %h not >> expanded at all? > > Actually, I think systemd resolves %h for PID 1 to '/'. Would need to > double check though. >
Re-reading the systemd.unit man page, it says for %u and %h that it resolves to the root user for the systemd manager instance. While this correctly describes the behaviour, it could be a bit clearer, documenting that setting `User=` has no effect. I've filed https://github.com/systemd/systemd/issues/12389 -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature