openbsd-ports/devel/jenkins/pkg/jenkins.rc
ian fe1616ba97 Put more options into daemon_flags, and document in README how to configure
the HTTPS and AJP ports (both now disabled). Remove dead variables.
Use ${LOCALBASE} one place instead of ${TRUEPREFIX}, requested by sthen@.
Brief note on migration from Hudson. Bump REVISION.
Spirited discussion with ajacoutot@ and schwarze@; ok ajacoutot@
2011-03-28 22:03:43 +00:00

13 lines
249 B
Bash

#!/bin/sh
daemon=$(${LOCALBASE}/bin/javaPathHelper -c jenkins)
daemon_flags="-jar ${TRUEPREFIX}/share/jenkins/jenkins.war --httpPort=8000 --httpsPort=-1 --ajp13Port=-1"
daemon_user="_jenkins"
. /etc/rc.d/rc.subr
rc_bg=YES
rc_reload=NO
rc_cmd $1