automatically restart service after vpn reconnects
This commit is contained in:
parent
418e41e555
commit
93df53ab69
2 changed files with 1 additions and 0 deletions
|
@ -4,6 +4,7 @@ Description=Reconnect VPN
|
|||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=nmcli con up vpn-name
|
||||
ExecStartPost=systemctl --user restart my-service
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in a new issue