ajacoutot 539f99454e Cleanups and do not hardcode paths.
@sample rc.shutdown
MESSAGE -> README

ok jca@ (maintainer)
2014-11-01 14:54:51 +00:00

8 lines
257 B
Plaintext

# $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/*