Add service applet
The service applet is equivalent to rc-service. This was added so that we will be more compatible with Debian and Fedora. Reported-by: cardoe@gentoo.org X-Gentoo-Bug: 468168 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468168
This commit is contained in:
parent
70628a875b
commit
a09a60c4cf
@ -2,7 +2,7 @@ MAN3= einfo.3 \
|
|||||||
rc_config.3 rc_deptree.3 rc_find_pids.3 rc_plugin_hook.3 \
|
rc_config.3 rc_deptree.3 rc_find_pids.3 rc_plugin_hook.3 \
|
||||||
rc_runlevel.3 rc_service.3 rc_stringlist.3
|
rc_runlevel.3 rc_service.3 rc_stringlist.3
|
||||||
MAN8= rc-service.8 rc-status.8 rc-update.8 rc.8 runscript.8 \
|
MAN8= rc-service.8 rc-status.8 rc-update.8 rc.8 runscript.8 \
|
||||||
start-stop-daemon.8
|
service.8 start-stop-daemon.8
|
||||||
|
|
||||||
# Handy macro to create symlinks
|
# Handy macro to create symlinks
|
||||||
# This does rely on correctly formatting our manpages!
|
# This does rely on correctly formatting our manpages!
|
||||||
|
1
man/service.8
Normal file
1
man/service.8
Normal file
@ -0,0 +1 @@
|
|||||||
|
.so rc-service.8
|
@ -11,7 +11,7 @@ SBINDIR= ${PREFIX}/sbin
|
|||||||
LINKDIR= ${LIBEXECDIR}
|
LINKDIR= ${LIBEXECDIR}
|
||||||
|
|
||||||
BINLINKS= rc-status
|
BINLINKS= rc-status
|
||||||
SBINLINKS= rc-service rc-update runscript start-stop-daemon
|
SBINLINKS= rc-service rc-update runscript service start-stop-daemon
|
||||||
RC_BINLINKS= einfon einfo ewarnn ewarn eerrorn eerror ebegin eend ewend \
|
RC_BINLINKS= einfon einfo ewarnn ewarn eerrorn eerror ebegin eend ewend \
|
||||||
eindent eoutdent esyslog eval_ecolors ewaitfile \
|
eindent eoutdent esyslog eval_ecolors ewaitfile \
|
||||||
veinfo vewarn vebegin veend vewend veindent veoutdent \
|
veinfo vewarn vebegin veend vewend veindent veoutdent \
|
||||||
|
@ -507,6 +507,7 @@ static const struct {
|
|||||||
{ "rc-service", rc_service, },
|
{ "rc-service", rc_service, },
|
||||||
{ "rc-status", rc_status, },
|
{ "rc-status", rc_status, },
|
||||||
{ "rc-update", rc_update, },
|
{ "rc-update", rc_update, },
|
||||||
|
{ "service", rc_service, },
|
||||||
{ "update-rc", rc_update, },
|
{ "update-rc", rc_update, },
|
||||||
A(runscript),
|
A(runscript),
|
||||||
{ "start-stop-daemon", start_stop_daemon, },
|
{ "start-stop-daemon", start_stop_daemon, },
|
||||||
|
Loading…
Reference in New Issue
Block a user