summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2019-01-08 19:24:13 +0100
committerKali Kaneko (leap communications) <kali@leap.se>2019-01-12 18:25:42 +0100
commit933ad2aeda754499753e91be05aa9f5556539d35 (patch)
treeacb104e4a984e67fc007037ed55e3b6182ee8b91 /main.go
parentf274ec2beaf060cc8bfe4f5eb6f2ce3b5c6aa1f3 (diff)
[feat] reload firewall with SIGUSR1
- Resolves: riseup_vpn#46
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index a9dc9e9..2683a88 100644
--- a/main.go
+++ b/main.go
@@ -85,6 +85,7 @@ func initialize(conf *systrayConfig, bt *bmTray) {
}
defer b.Close()
go checkAndStartBitmask(b, notify, conf)
+ go listenSignals(b)
as := newAutostart(applicationName, getIconPath())
err = as.Enable()