14 lines
421 B
Text
14 lines
421 B
Text
|
[Unit]
|
||
|
Description=WireGuard VPN Service
|
||
|
After=network-online.target nss-lookup.target connman-vpn.service time-sync.target
|
||
|
Wants=network-online.target nss-lookup.target connman-vpn.service time-sync.target
|
||
|
|
||
|
[Service]
|
||
|
Type=oneshot
|
||
|
RemainAfterExit=yes
|
||
|
ExecStart=/usr/bin/connmanctl connect vpn_service_name_goes_here
|
||
|
ExecStop=/usr/bin/connmanctl disconnect vpn_service_name_goes_here
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|