Carlos E. R. composed on 2024-05-30 23:25 (UTC+0200):
Felix Miata wrote:
Andrei Borzenkov composed on 2024-05-30 20:19 (UTC+0300):
Felix Miata wrote:
I tried changing WantedBy from default to multi-user, but it didn't help.
Explain step by step what you did.
# systemctl edit /etc/systemd/system/issue-generator.service copy [Install] WantedBy=multi-user.target from lower part of file to ~line 3 s/graphical/multi-user/ save/exit # Reboot
I would expect that a user who constantly talks about managing dozens if not hundreds systems knows that to apply [Install] section one needs to enable unit.
Felix Miata composed on 2024-05-29 18:10 (UTC-0400):
# systemctl list-unit-files | grep issue issue-generator.path enabled enabled issue-add-ssh-keys.service disabled disabled issue-generator.service enabled enabled
Looks enabled to me, whether on an installation where it works, or not. And, it works if I run
systemctl start issue-generator.service
on any where it doesn't.
He is saying that if you change the [install] section , you have to do a systemctl enable to activate that change. At least that is what I understand, it is news to me.
Are you two somehow suggesting that if a service override is created, it isn't implemented until the service is first disabled, then enabled; or issue-generator uninstalled, then installed? Restarting or rebooting I can understand, but not those pairs. -- Evolution as taught in public schools is, like religion, based on faith, not based on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata