ynh-vpnclient.service 308 B

123456789101112131415
  1. [Unit]
  2. Description=YunoHost VPN Client.
  3. Requires=network.target
  4. After=network.target
  5. Wants=ynh-hotspot.service
  6. Before=ynh-hotspot.service
  7. [Service]
  8. Type=oneshot
  9. ExecStart=/usr/local/bin/ynh-vpnclient start
  10. ExecStop=/usr/local/bin/ynh-vpnclient stop
  11. RemainAfterExit=yes
  12. [Install]
  13. WantedBy=multi-user.target