Skip to content

Instantly share code, notes, and snippets.

@zukka77
Created July 26, 2018 20:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zukka77/6c95c495fff7cd6b67ef07348f422d99 to your computer and use it in GitHub Desktop.
Save zukka77/6c95c495fff7cd6b67ef07348f422d99 to your computer and use it in GitHub Desktop.
systemd wait for vpn up
#/etc/systemd/system/[yourService].service.d/[any_name].conf
[Unit]
Wants=sys-devices-virtual-net-tun0.device
After=sys-devices-virtual-net-tun0.device
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment