aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/Makefile2
-rw-r--r--man/service.81
-rw-r--r--src/rc/Makefile2
-rw-r--r--src/rc/rc-applets.c1
4 files changed, 4 insertions, 2 deletions
diff --git a/man/Makefile b/man/Makefile
index 3ad717dc..4110c8f7 100644
--- a/man/Makefile
+++ b/man/Makefile
@@ -2,7 +2,7 @@ MAN3= einfo.3 \
rc_config.3 rc_deptree.3 rc_find_pids.3 rc_plugin_hook.3 \
rc_runlevel.3 rc_service.3 rc_stringlist.3
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
# This does rely on correctly formatting our manpages!
diff --git a/man/service.8 b/man/service.8
new file mode 100644
index 00000000..cd9dfa88
--- /dev/null
+++ b/man/service.8
@@ -0,0 +1 @@
+.so rc-service.8
diff --git a/src/rc/Makefile b/src/rc/Makefile
index dcd8e5a4..a2e638e8 100644
--- a/src/rc/Makefile
+++ b/src/rc/Makefile
@@ -11,7 +11,7 @@ SBINDIR= ${PREFIX}/sbin
LINKDIR= ${LIBEXECDIR}
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 \
eindent eoutdent esyslog eval_ecolors ewaitfile \
veinfo vewarn vebegin veend vewend veindent veoutdent \
diff --git a/src/rc/rc-applets.c b/src/rc/rc-applets.c
index 4481b083..64b6e888 100644
--- a/src/rc/rc-applets.c
+++ b/src/rc/rc-applets.c
@@ -507,6 +507,7 @@ static const struct {
{ "rc-service", rc_service, },
{ "rc-status", rc_status, },
{ "rc-update", rc_update, },
+ { "service", rc_service, },
{ "update-rc", rc_update, },
A(runscript),
{ "start-stop-daemon", start_stop_daemon, },