aboutsummaryrefslogtreecommitdiffstats
path: root/40-openvpn
blob: 0af45ca7316f2c67a58f5ed685efa9af9b10343d (about) (plain) (blame)
1
2
3
4
5
6
7
#!/bin/sh

if [ "${2}" == "up" ]; then
	if pgrep -x openvpn >/dev/null; then
		kill -USR1 $(pgrep -x openvpn)
	fi
fi