Make the default start, stop and status functions overridable

This will make it possible to add support for supervision suites such as
runit and s6.
This commit is contained in:
William Hubbs
2015-05-08 11:29:49 -05:00
parent 0b435ddd83
commit abef2fcb2d
4 changed files with 87 additions and 67 deletions

View File

@@ -1,7 +1,7 @@
DIR= ${LIBEXECDIR}/sh
SRCS= init.sh.in functions.sh.in gendepends.sh.in \
openrc-run.sh.in rc-functions.sh.in tmpfiles.sh.in ${SRCS-${OS}}
INC= rc-mount.sh functions.sh rc-functions.sh
INC= rc-mount.sh functions.sh rc-functions.sh start-stop-daemon.sh
BIN= gendepends.sh init.sh openrc-run.sh tmpfiles.sh ${BIN-${OS}}
INSTALLAFTER= _installafter