serverroom-components/systemd/reconnect-vpn.service

11 lines
174 B
SYSTEMD
Raw Permalink Normal View History

2024-11-24 19:03:12 +00:00
[Unit]
Description=Reconnect VPN
[Service]
Type=oneshot
ExecStart=nmcli con up vpn-name
ExecStartPost=systemctl --user restart my-service
2024-11-24 19:03:12 +00:00
[Install]
WantedBy=default.target