aboutsummaryrefslogtreecommitdiff
path: root/sh/runscript.sh.in
AgeCommit message (Collapse)Author
2011-06-29drop useless "All rights reserved" noticeMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-05-11do not run services if openrc did not boot the systemWilliam Hubbs
X-Gentoo-Bug: 364159 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=364159
2011-01-17more whitespace cleanupMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2011-01-12bug 351160: make openrc exit codes LSB compliantEray Aslan
* status on a stopped service now has a return code of 3 (was 1) * starting an already started service now has a return code of 0 (was 1) * stopping an already stopped service now has a return code of 0 (was 1)
2011-01-12bug 328675: add error checking to runscript.shWilliam Hubbs
runscript.sh needs to abort if the . command used to load conf.d files and the service script does not execute successfully. I would like to thank Mike Frysinger for his input wrt style on this patch.
2010-02-20Fix rc_${rc_svcname}_need.Roy Marples
Display config depends in service depend function also.
2009-09-04Allow init scripts to show their dependencies easierRoy Marples
2009-05-26We need to use eval so we can pass "*" as an argument.Roy Marples
2009-05-23Move non compiled libraries from /lib/rc to /libexec/rcRoy Marples
OpenRC version is now stored as plaintext in /libexec/rc/version Plugins (cursplash, splashutils) will have to be re-compiled to pickup the new directories. State data needs to be moved from /lib/rc/init.d to /libexec/rc/init.d as well.
2009-05-01Add (c) to CopyrightRoy Marples
2009-04-27Allow templates to define a stop signalRoy Marples
2009-04-26Stop using needless {} in varsRoy Marples
2009-04-18Allow user to provide custom status function and still hook into the system oneRoy Marples
2009-04-18Move status to runscript.sh so init scripts can override it, #159Roy Marples
Return 32 if crashed, #163
2008-04-26Always define template start/stop functions so that the real script name ↵Roy Marples
isn't hidden when errors are in the real start/stop functions, Gentoo #219179
2008-04-21Fix logic for templates.Roy Marples
2008-04-21Punt is_function in favour of POSIX shell builtin command, thanks to Harald ↵Roy Marples
van Dijk for the idea.
2008-04-18We should check type output to ensure that we're really calling a shell ↵Roy Marples
function and not some badly named binary like stop from boinc, Gentoo #218063.
2008-03-25Try and fix more prefix stuff.Roy Marples
2008-03-19SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.Roy Marples
2008-03-19Add rc-service and update all softlevel refs to runlevel.Roy Marples
2008-03-11RC_SERVICE now points to the service file, so daemons can recall us directly.Roy Marples
2008-03-05Add tunable SYSCONFDIRRoy Marples
2008-03-03Introduce LOCAL_PREFIX for a user maintained script location.Roy Marples
2008-03-02Ensure that our scripts call prefixed runscript.Roy Marples
2008-02-27Makefile SH variable now tweaks the default shell used by our scripts.Roy Marples