On Tue, 19 Nov 2019 01:28:10 +0100 <xavierisdum4khmrbyivxedlpft...@null.net> wrote: > My current work-around is to manually stop the GSA service and > its dependencies, after they get restarted each time. A more severe > workaround is to use systemctl masking: > > % sudo systemctl mask greenbone-security-assistant > > However, this prevents the service from being started manually. > To start manually: > > % sudo systemctl unmask greenbone-security-assistant > % sudo systemctl start greenbone-security-assistant > > Then, of course, it has to be re-masked when done being used, to > prevent it from being auto-started again. > > To improve on this, I'm trying to disable the dependency. > Not being an expert at systemd, I'm not sure if this will have > the intended effect, or possibly adverse effects: > % sudo rm > /etc/systemd/system/multi-user.target.wants/greenbone-security-assistant.service
This has been working, and I haven't noticed any adverse effects.