Commit Graph

52 Commits

Author SHA1 Message Date
Roy Marples
0e38dcc4d2 By default, rc-status now shows the statuses of the services in the current runlevel and any unassigned non stopped services, #52. 2008-04-09 22:56:32 +00:00
Roy Marples
3ca8387966 Document SSD_NICELEVEL. 2008-03-29 09:37:59 +00:00
Roy Marples
11e33e81c8 Remove rc_service_start/stop from librc as they block and unmask signals. The application may not wish this behaviour and should fork/exec the service itself. 2008-03-28 08:42:05 +00:00
Roy Marples
be1f9b0a93 Add --exists and --resolve to rc-service. 2008-03-26 08:08:47 +00:00
Roy Marples
59b27ad7eb Fix man install. 2008-03-25 17:37:54 +00:00
Roy Marples
85b480a6f2 Tweak man install. 2008-03-25 17:32:19 +00:00
Mike Frysinger
9ed5d28d15 add check/test rules 2008-03-24 06:10:40 +00:00
Roy Marples
494fb0a5f6 Add --list to rc-service to list all available services. 2008-03-21 09:10:59 +00:00
Roy Marples
6159a32f39 SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat. 2008-03-19 19:57:24 +00:00
Roy Marples
d9ec62b22a Add rc-service and update all softlevel refs to runlevel. 2008-03-19 17:11:50 +00:00
Roy Marples
51c825ceee Make rc_getline private and save it's buffer so it's sort of like getline from glibc. 2008-03-17 21:27:37 +00:00
Roy Marples
4c14666423 Punt the rc_strcatpaths function and use snprintf instead to save on expensive malloc calls. 2008-03-17 13:25:56 +00:00
Roy Marples
50a7697bf2 rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array. 2008-03-17 09:59:52 +00:00
Roy Marples
1fd1472dde Add new stringlist files. 2008-03-16 17:01:35 +00:00
Roy Marples
cb9da6a262 Remove null terminated char ** lists in favour of RC_STRINGLIST, using TAILQ from queue(3). Refactor code style around the BSD KNF. 2008-03-16 17:00:56 +00:00
Roy Marples
df1377601b We don't mount /lib/rc/init.d when / is rw at boot. 2008-03-08 15:18:53 +00:00
Roy Marples
6a2cce536e Document the negation of keywords. 2008-03-04 10:40:31 +00:00
Roy Marples
15cf41e713 Split VPS into VSERVER and OPENVZ 2008-03-03 17:19:56 +00:00
Roy Marples
7a8e9d4ddb Add a gitignore make target. 2008-03-03 13:04:08 +00:00
Roy Marples
61c476e72d Use exlicit make targets, not directory contents. 2008-03-03 12:34:51 +00:00
Roy Marples
d1f7f0a304 Force the specification of a pidfile or process name if daemon is a script. Alternatively, document the use of starting the script interpreter and passing the daemon as an option. 2008-02-24 23:09:15 +00:00
Roy Marples
00aa221b98 Welcome to 2008. 2008-02-22 12:35:58 +00:00
Roy Marples
ad780077d2 Welcome to 2008. 2008-02-22 12:07:34 +00:00
Roy Marples
5bb09b6587 ewarn now goes to stderr to match portage behaviour. 2008-02-21 10:08:35 +00:00
Roy Marples
e1e36b2872 keywords -> keyword 2008-02-19 14:36:22 +00:00
Roy Marples
42bfd7b6dc Move the shell code to check for RC_SYS to the keywords dependency. 2008-02-19 14:29:20 +00:00
Roy Marples
0364bb2c84 Add the nojail keyword which excludes services marked as such from the dependency tree when in a jail, #bug 22 2008-02-19 14:15:53 +00:00
Roy Marples
fbdc85f3b3 Restore the --env option. 2008-02-17 11:17:48 +00:00
Roy Marples
09ff8eeecd rc-status -r now shows the current runlevel name. 2008-02-08 21:11:44 +00:00
Roy Marples
b49f779779 Document how to remove dependencies in configuration files. 2008-01-30 14:07:45 +00:00
Roy Marples
51a9c647b9 Allow !net to remove the net provision from dependencies. 2008-01-30 13:37:20 +00:00
Roy Marples
a597686ded Document yesno, is_older_than and is_newer_than. 2008-01-18 14:17:58 +00:00
Roy Marples
38f8eee495 We should not use options for rc-update, as add, delete and such are commands. 2008-01-15 09:50:14 +00:00
Roy Marples
a1783d552d Typo, thanks to dberkholz. 2008-01-15 09:26:29 +00:00
Roy Marples
28afeac09e Add sys.mk to define system locations. 2008-01-11 16:03:38 +00:00
Roy Marples
4314784520 Allow for OS and SUBOS folders so we can introduce NetBSD scripts whilst keeping BSD for all BSD's. 2008-01-10 16:35:59 +00:00
Roy Marples
c256510570 add rc_getline to the man page 2008-01-07 12:39:27 +00:00
Roy Marples
3e8695f6f0 Automagically link our man pages. 2007-12-24 22:34:22 +00:00
Roy Marples
c876853859 add comma 2007-12-24 22:34:08 +00:00
Roy Marples
5741ad634d Add man pages for all librc functions. 2007-12-24 22:03:27 +00:00
Roy Marples
7de72229a5 Remove forces spaces from ebracket and ensure ok matches eend output. 2007-12-24 13:55:40 +00:00
Roy Marples
28a74e2125 Add document ebracket 2007-12-24 12:06:45 +00:00
Roy Marples
fcb7ab641c Add a man page for einfo.3 2007-12-24 11:48:33 +00:00
Roy Marples
cbea91cae5 Remove rc-help.sh and replace with a man page for runscript 8. 2007-12-20 17:39:13 +00:00
Roy Marples
e4575849be Add a manpage for rc.8 2007-12-20 15:54:19 +00:00
Roy Marples
4a4f808a0f Rework the manpages into mdoc format for easier maintainence 2007-12-17 10:14:54 +00:00
Roy Marples
5f8cf73b22 Our build chain now works with GNU and BSD make implementations 2007-11-19 13:48:43 +00:00
Roy Marples
39227ede1d relicense as 2-clause BSD, with the kind permission of Gentoo 2007-11-14 15:22:04 +00:00
Roy Marples
c3608471cd SSD_NICELEVEL can now affect the nicelevel for daemons started
by start-stop-daemon, #175397.
2007-05-02 12:33:56 +00:00
Roy Marples
a07be0513a s-s-d now allows --signal to be used without --stop and --oknodo. man page updated accordingly 2007-04-13 09:21:16 +00:00