remove service binary
The service binary was just a synonym for rc-service, so use rc-service instead of service. If you want a "service" binary, it should be something that can determine which service manager you are running and run the appropriate service manager commands.
This commit is contained in:
parent
edc54b0377
commit
3c05db74f6
3
guide.md
3
guide.md
@ -53,9 +53,6 @@ Calling `openrc` without any arguments will try to reset all services so
|
|||||||
that the current runlevel is satisfied; if you manually started apache it will be
|
that the current runlevel is satisfied; if you manually started apache it will be
|
||||||
stopped, and if squid died but is in the current runlevel it'll be restarted.
|
stopped, and if squid died but is in the current runlevel it'll be restarted.
|
||||||
|
|
||||||
There is a `service` helper that emulates the syntax seen on e.g. older Redhat
|
|
||||||
and Ubuntu (`service nginx start` etc.)
|
|
||||||
|
|
||||||
# Runlevels
|
# Runlevels
|
||||||
|
|
||||||
OpenRC has a concept of runlevels, similar to what sysvinit historically
|
OpenRC has a concept of runlevels, similar to what sysvinit historically
|
||||||
|
@ -24,7 +24,7 @@ SBINDIR= ${PREFIX}/sbin
|
|||||||
LINKDIR= ${LIBEXECDIR}
|
LINKDIR= ${LIBEXECDIR}
|
||||||
|
|
||||||
BINPROGS= rc-status
|
BINPROGS= rc-status
|
||||||
SBINPROGS = openrc openrc-run rc rc-service rc-update runscript service \
|
SBINPROGS = openrc openrc-run rc rc-service rc-update runscript \
|
||||||
start-stop-daemon supervise-daemon
|
start-stop-daemon supervise-daemon
|
||||||
RC_BINPROGS= einfon einfo ewarnn ewarn eerrorn eerror ebegin eend ewend \
|
RC_BINPROGS= einfon einfo ewarnn ewarn eerrorn eerror ebegin eend ewend \
|
||||||
eindent eoutdent esyslog eval_ecolors ewaitfile \
|
eindent eoutdent esyslog eval_ecolors ewaitfile \
|
||||||
@ -150,7 +150,7 @@ rc-depend: rc-depend.o _usage.o rc-misc.o
|
|||||||
rc-status: rc-status.o _usage.o rc-misc.o
|
rc-status: rc-status.o _usage.o rc-misc.o
|
||||||
${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD}
|
${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD}
|
||||||
|
|
||||||
rc-service service: rc-service.o _usage.o rc-misc.o
|
rc-service: rc-service.o _usage.o rc-misc.o
|
||||||
${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD}
|
${CC} ${LOCAL_CFLAGS} ${LOCAL_LDFLAGS} ${CFLAGS} ${LDFLAGS} -o $@ $^ ${LDADD}
|
||||||
|
|
||||||
rc-update: rc-update.o _usage.o rc-misc.o
|
rc-update: rc-update.o _usage.o rc-misc.o
|
||||||
|
Loading…
Reference in New Issue
Block a user