Kill bup when the VPN goes down master
authorAndrew Ruthven <puck@catalyst.net.nz>
Wed, 18 Dec 2019 09:14:11 +0000 (22:14 +1300)
committerAndrew Ruthven <andrew@etc.gen.nz>
Wed, 18 Dec 2019 09:14:11 +0000 (22:14 +1300)
NetworkManager/dispatcher.d/20network-shares

index aa798ca..f70f387 100755 (executable)
@@ -72,6 +72,7 @@ case "$2" in
             # Autofs, your job is done.
             /etc/init.d/autofs stop
             killall obnam
+            killall bup
 
             # Lazy unmount the Network shares, as they may be busy and autofs stopping
             # doesn't remove them.