diff --git a/etc/dsnet.service b/etc/dsnet.service index 52adfd9..6f9b3cf 100644 --- a/etc/dsnet.service +++ b/etc/dsnet.service @@ -8,6 +8,9 @@ Wants=network-online.target [Service] Type=oneshot ExecStart=/usr/local/bin/dsnet up +ExecStop=/usr/local/bin/dsnet down +RemainAfterExit=yes +ExecReload=/usr/local/bin/dsnet sync [Install] WantedBy=default.target