Since user sysd units cannot depend on system targets, I made a custom script that uses nmcli to check for the connectivity, then used it as a condition in ExecStartPre.
Tested on a VM:
installed the unit
restarted the VM
I noticed that Vso didn't show the distrobox initialization process but the prompt directly
Since user sysd units cannot depend on system targets, I made a custom script that uses
nmcli
to check for the connectivity, then used it as a condition inExecStartPre
.Tested on a VM: