add rcscript
ok ajacoutot jakob (MAINTAINER)
This commit is contained in:
parent
f40c8faef4
commit
7832d1549c
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.56 2011/05/11 08:24:41 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.57 2011/09/14 01:45:31 william Exp $
|
||||
|
||||
COMMENT= SSL encryption wrapper for standard network daemons
|
||||
|
||||
@ -6,7 +6,7 @@ VERSION= 4.28
|
||||
DISTNAME= stunnel-${VERSION}
|
||||
CATEGORIES= security
|
||||
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
|
||||
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
|
||||
|
||||
|
@ -2,8 +2,3 @@ After stunnel is installed, you have to create a server certificate and
|
||||
put the result in /etc/ssl/private/stunnel.pem. For more information on
|
||||
how to create certificates, read ssl(8). For more information on stunnel,
|
||||
read stunnel(8).
|
||||
|
||||
You can edit /etc/rc.local so that stunnel is started automatically:
|
||||
if [ -x ${PREFIX}/sbin/stunnel ]; then
|
||||
echo -n ' stunnel'; ${PREFIX}/sbin/stunnel
|
||||
fi
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.10 2011/05/11 08:24:41 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.11 2011/09/14 01:45:31 william Exp $
|
||||
@newgroup _stunnel:528
|
||||
@newuser _stunnel:528:_stunnel:daemon:stunnel account:/var/stunnel:/sbin/nologin
|
||||
@extraunexec rm -rf /var/stunnel/*
|
||||
@ -10,3 +10,4 @@ share/examples/stunnel/stunnel.conf-sample
|
||||
@sample ${SYSCONFDIR}/stunnel/stunnel.conf
|
||||
@sample /var/stunnel/
|
||||
@extra /var/run/stunnel.pid
|
||||
@rcscript ${RCDIR}/stunnel
|
||||
|
11
security/stunnel/pkg/stunnel.rc
Normal file
11
security/stunnel/pkg/stunnel.rc
Normal file
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $OpenBSD: stunnel.rc,v 1.1 2011/09/14 01:45:31 william Exp $
|
||||
|
||||
daemon="${TRUEPREFIX}/sbin/stunnel"
|
||||
|
||||
. /etc/rc.d/rc.subr
|
||||
|
||||
rc_reload=NO
|
||||
|
||||
rc_cmd $1
|
Loading…
x
Reference in New Issue
Block a user