1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Update to latest weekly snapshot.

Add softrestart command to rc script.

PR:	ports/149272
Submitted by:	Eric F Crist <ecrist@secure-computing.net>
This commit is contained in:
Josh Paetzel 2010-08-04 16:02:48 +00:00
parent 9c1b64af74
commit fd077e334e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258782
3 changed files with 14 additions and 6 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= openvpn
DISTVERSION= 201029
DISTVERSION= 201031
CATEGORIES= security net
MASTER_SITES= ftp://ftp.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/ \
ftp://ftp2.secure-computing.net/pub/FreeBSD/ports/openvpn-devel/

View File

@ -1,3 +1,3 @@
MD5 (openvpn-201029.tar.gz) = f5f48c98b3158c2f4ad0c45dba0d8481
SHA256 (openvpn-201029.tar.gz) = 0cc8d8a967f8f2ccd1704da05f898b2e1f561598d70a1ee33dafa67e249fc523
SIZE (openvpn-201029.tar.gz) = 1029884
MD5 (openvpn-201031.tar.gz) = 986bdb317ced5b9fbfb7a3e3497adae3
SHA256 (openvpn-201031.tar.gz) = 95feb1acadf804993070f13c652fe701af20b6d470703aa02e7e26fe9bfb690d
SIZE (openvpn-201031.tar.gz) = 1031688

View File

@ -97,8 +97,16 @@ stop_postcmd()
rm -f "$pidfile" || warn "Could not remove $pidfile."
}
# support SIGHUP to reparse configuration file
extra_commands="reload"
softrestart()
{
sig_reload=USR1 run_rc_command reload
exit $?
}
# reload: support SIGHUP to reparse configuration file
# softrestart: support SIGUSR1 to reconnect without privileges
extra_commands="reload softrestart"
softrestart_cmd="softrestart"
# pidfile
pidfile="/var/run/${name}.pid"