Cleanups and do not hardcode paths.
@sample rc.shutdown MESSAGE -> README ok jca@ (maintainer)
This commit is contained in:
parent
06c2f6fe9a
commit
539f99454e
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2014/05/31 10:49:02 jca Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2014/11/01 14:54:51 ajacoutot Exp $
|
||||
|
||||
COMMENT= daemontools alike replacement for init
|
||||
|
||||
DISTNAME= runit-1.7.2
|
||||
REVISION= 1
|
||||
REVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
|
||||
HOMEPAGE= http://www.smarden.org/runit/
|
||||
@ -54,7 +54,8 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKDIST}/package/${doc} ${PREFIX}/share/doc/runit/
|
||||
.endfor
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/runit
|
||||
${INSTALL_DATA} ${FILESDIR}/rc.shutdown ${PREFIX}/share/examples/runit/
|
||||
${SUBST_CMD} -c ${FILESDIR}/rc.shutdown \
|
||||
${PREFIX}/share/examples/runit/rc.shutdown
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/runit/init
|
||||
.for file in ${EXAMPLES}
|
||||
${INSTALL_DATA} ${WRKDIST}/${file} ${PREFIX}/share/examples/runit/init/
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Stop runit services
|
||||
|
||||
echo -n 'Waiting for services to stop...'
|
||||
/usr/local/sbin/sv -w196 force-stop /var/service/*
|
||||
/usr/local/sbin/sv exit /var/service/*
|
||||
# $OpenBSD: rc.shutdown,v 1.4 2014/11/01 14:54:51 ajacoutot Exp $
|
||||
#
|
||||
# Stop runit services.
|
||||
|
||||
echo 'Waiting for runit services to stop...'
|
||||
${TRUEPREFIX}/sbin/sv -w196 force-stop ${LOCALSTATEDIR}/service/*
|
||||
${TRUEPREFIX}/sbin/sv exit ${LOCALSTATEDIR}/service/*
|
||||
|
@ -1,12 +0,0 @@
|
||||
You will need to add
|
||||
|
||||
csh -cf '${PREFIX}/sbin/runsvdir-start &'
|
||||
|
||||
to /etc/rc.local in order to have runit start at boot.
|
||||
|
||||
The service directory has moved from /service to /var/service.
|
||||
|
||||
With this version the runsvctrl, runsvstat, svwaitdown, and svwaitup
|
||||
programs no longer are being installed. The functionality of these
|
||||
programs has been incorporated into the sv program.
|
||||
Read ${PREFIX}/share/doc/runit/upgrade.html on update.
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2006/12/26 15:04:55 simon Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.3 2014/11/01 14:54:51 ajacoutot Exp $
|
||||
@man man/man8/chpst.8
|
||||
@man man/man8/runit-init.8
|
||||
@man man/man8/runit.8
|
||||
@ -8,16 +8,17 @@
|
||||
@man man/man8/sv.8
|
||||
@man man/man8/svlogd.8
|
||||
@man man/man8/utmpset.8
|
||||
sbin/chpst
|
||||
sbin/runit
|
||||
sbin/runit-init
|
||||
sbin/runsv
|
||||
sbin/runsvchdir
|
||||
sbin/runsvdir
|
||||
@bin sbin/chpst
|
||||
@bin sbin/runit
|
||||
@bin sbin/runit-init
|
||||
@bin sbin/runsv
|
||||
@bin sbin/runsvchdir
|
||||
@bin sbin/runsvdir
|
||||
sbin/runsvdir-start
|
||||
sbin/sv
|
||||
sbin/svlogd
|
||||
sbin/utmpset
|
||||
@bin sbin/sv
|
||||
@bin sbin/svlogd
|
||||
@bin sbin/utmpset
|
||||
share/doc/pkg-readmes/${FULLPKGNAME}
|
||||
share/doc/runit/
|
||||
share/doc/runit/CHANGES
|
||||
share/doc/runit/COPYING
|
||||
@ -52,3 +53,4 @@ share/examples/runit/init/getty-ttyC4/
|
||||
share/examples/runit/init/getty-ttyC4/finish
|
||||
share/examples/runit/init/getty-ttyC4/run
|
||||
share/examples/runit/rc.shutdown
|
||||
@sample /etc/rc.shutdown
|
||||
|
19
sysutils/runit/pkg/README
Normal file
19
sysutils/runit/pkg/README
Normal file
@ -0,0 +1,19 @@
|
||||
$OpenBSD: README,v 1.1 2014/11/01 14:54:51 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
You will need to add
|
||||
|
||||
csh -cf '${PREFIX}/sbin/runsvdir-start &'
|
||||
|
||||
to /etc/rc.local in order to have runit start at boot.
|
||||
|
||||
The service directory has moved from /service to ${LOCALSTATEDIR}/service.
|
||||
|
||||
With this version the runsvctrl, runsvstat, svwaitdown, and svwaitup
|
||||
programs no longer are being installed. The functionality of these
|
||||
programs has been incorporated into the sv program.
|
||||
|
||||
Read ${PREFIX}/share/doc/runit/upgrade.html on update.
|
Loading…
Reference in New Issue
Block a user