homelab/scripts/vpn/dsnet.service

15 lines
248 B
SYSTEMD
Raw Permalink Normal View History

2022-12-31 22:46:38 +01:00
[Unit]
Description=dsnet
After=network-online.target
Wants=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/bin/dsnet up
ExecStop=/usr/bin/dsnet down
RemainAfterExit=yes
ExecReload=/usr/bin/dsnet sync
[Install]
WantedBy=default.target