Commit Graph

217 Commits

Author SHA1 Message Date
38e6c9ba5c make ignore now configures the sv:ignore property. 2008-12-04 12:38:23 +00:00
03e8e0cb68 More Typos. 2008-11-04 14:28:51 +00:00
5fc6f21169 Typo 2008-11-04 11:05:30 +00:00
c520d4a23a --nice is -N, not -n. Also, correct default timeout. 2008-11-03 21:11:29 +00:00
0af7d5bc20 Add a new shutdown runlevel, Gentoo #224537.
Split halt.sh into halt, killprocs, romount and savecache services.
The reboot runlevel is removed but mapped to shutdown.
The halt script should be moved to the sysvinit package.
2008-11-03 15:31:01 +00:00
0d98d56188 Remove sysvinit specific code.
The runlevels shutdown, reboot, sysinit and single should be called by
init(8) and shutdown(8) and not manually.
sysvinit users will have to add sulogin to their inittab to secure the
console.
2008-10-27 18:01:03 +00:00
c3e192a834 Stop ssd from waiting by default - most daemons are good now. 2008-09-26 23:58:57 +00:00
a63303971a Document the --verbose option. 2008-09-22 09:37:28 +00:00
5610c8560c s-s-d now handles interpreted daemons more easily. 2008-09-22 09:34:51 +00:00
a72dc1194a Style. 2008-09-19 11:34:35 +00:00
dcc4aa131c Document the limitation of symlinking services outside of the service directory, Gentoo #237263. 2008-09-19 11:32:24 +00:00
1ab1e9328a Add -k,--umask option, Gentoo #232455. 2008-08-20 10:02:11 +00:00
cea206014d Attempt to make s-s-d simpler by not enforcing the need for a full path and maybe working better with interpreted scripts. 2008-07-27 11:30:49 +00:00
157db50df7 Fix is_older_than a little better, and make is_newer_than correct. 2008-07-03 13:30:17 +00:00
587051ec67 Add the ewaitfile function so init scripts can wait until sockts are created, Gentoo #175783. 2008-06-03 11:57:15 +00:00
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
3ca8387966 Document SSD_NICELEVEL. 2008-03-29 09:37:59 +00:00
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
be1f9b0a93 Add --exists and --resolve to rc-service. 2008-03-26 08:08:47 +00:00
59b27ad7eb Fix man install. 2008-03-25 17:37:54 +00:00
85b480a6f2 Tweak man install. 2008-03-25 17:32:19 +00:00
9ed5d28d15 add check/test rules 2008-03-24 06:10:40 +00:00
494fb0a5f6 Add --list to rc-service to list all available services. 2008-03-21 09:10:59 +00:00
6159a32f39 SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat. 2008-03-19 19:57:24 +00:00
d9ec62b22a Add rc-service and update all softlevel refs to runlevel. 2008-03-19 17:11:50 +00:00
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
4c14666423 Punt the rc_strcatpaths function and use snprintf instead to save on expensive malloc calls. 2008-03-17 13:25:56 +00:00
50a7697bf2 rc_find_pids now returns RC_PIDLIST instead of a NULL terminated array. 2008-03-17 09:59:52 +00:00
1fd1472dde Add new stringlist files. 2008-03-16 17:01:35 +00:00
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
df1377601b We don't mount /lib/rc/init.d when / is rw at boot. 2008-03-08 15:18:53 +00:00
6a2cce536e Document the negation of keywords. 2008-03-04 10:40:31 +00:00
15cf41e713 Split VPS into VSERVER and OPENVZ 2008-03-03 17:19:56 +00:00
7a8e9d4ddb Add a gitignore make target. 2008-03-03 13:04:08 +00:00
61c476e72d Use exlicit make targets, not directory contents. 2008-03-03 12:34:51 +00:00
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
00aa221b98 Welcome to 2008. 2008-02-22 12:35:58 +00:00
ad780077d2 Welcome to 2008. 2008-02-22 12:07:34 +00:00
5bb09b6587 ewarn now goes to stderr to match portage behaviour. 2008-02-21 10:08:35 +00:00
e1e36b2872 keywords -> keyword 2008-02-19 14:36:22 +00:00
42bfd7b6dc Move the shell code to check for RC_SYS to the keywords dependency. 2008-02-19 14:29:20 +00:00
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
fbdc85f3b3 Restore the --env option. 2008-02-17 11:17:48 +00:00
09ff8eeecd rc-status -r now shows the current runlevel name. 2008-02-08 21:11:44 +00:00
b49f779779 Document how to remove dependencies in configuration files. 2008-01-30 14:07:45 +00:00
51a9c647b9 Allow !net to remove the net provision from dependencies. 2008-01-30 13:37:20 +00:00
a597686ded Document yesno, is_older_than and is_newer_than. 2008-01-18 14:17:58 +00:00
38f8eee495 We should not use options for rc-update, as add, delete and such are commands. 2008-01-15 09:50:14 +00:00
a1783d552d Typo, thanks to dberkholz. 2008-01-15 09:26:29 +00:00
28afeac09e Add sys.mk to define system locations. 2008-01-11 16:03:38 +00:00