Comment 4 for bug 1905285

Revision history for this message
Marcin SÅ‚owik (marandil) wrote :

Hello Segio,

Have you tried editing ssh@.service as well? In my case, sshd.service -> ssh.service and that is not used when ssh is in socket-activated mode, ssh@.service is, at least that's how I understand systemd.

I now understand how to override the unit files with [unit-file].d/override.conf files and that at least fixes the overwrite on update issue (although I must say it's a bit unintuitive, since some of the /usr/lib/systemd/system configs are symlinked from /etc/systemd/system and IIRC you should be allowed to modify configs under /etc, but I digress). AFAICT that's precisely what `systemctl edit` does.

Seth, thank you for linking the manpage, it was... educational to say the least :).