I have 2 openvpn-client@ services (openvpn-client@df and openvpn-client@sp) configured in my machine. I don't want them automatically started at boot. But I want to be able to manually start them whenever I need them.
The problem is that in Fedora 38 enabling the openvpn-client@ services creates the openvpn-client@df.service symlink:
# systemctl enable openvpn-client@df
Created symlink /etc/systemd/system/multi-user.target.wants/openvpn-client@df.service → /usr/lib/systemd/system/openvpn-client@.service.
and disabling it removes this same symlink:
# systemctl disable openvpn-client@df
Removed "/etc/systemd/system/multi-user.target.wants/openvpn-client@df.service".
Without this symlink I can't manually start the service.
Is there a way besides manually creating the symlink to be able to manually start these @ services while keeping them disabled?
systemctl start openvpn-client@dfshould work? – vidarlo Oct 07 '23 at 20:19systemctl start openvpn-client@df, the add the output including anything in the logs and also the output ofsystemctl status openvpn-client@dfto the question. Either way, it has nothing to do with whether or not the service is enabled. – Nasir Riley Oct 08 '23 at 12:26systemctl start openvp...doesn't work without the link, only with if. Because of that I thought thatsystemctl start openvpn-client@dfwouldn't work also and have not even tried it before asking. Thanks! – Rsevero Oct 08 '23 at 15:31