aboutsummaryrefslogtreecommitdiff
path: root/src/rc
AgeCommit message (Collapse)Author
2009-09-04Fix signed error.Roy Marples
2009-09-01Allow any valid numeric signal and not just what we define.Roy Marples
2009-07-01We should use -feature instead of nofeature.Roy Marples
This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.
2009-06-21Use rc_getline instead of assuming a fixed kernel cmdline length.Roy Marples
This is now requires as COMMAND_LINE_SIZE isn't exposed by kernel headers anymore. Fixes #177.
2009-06-01Warn about going inactive correctly.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-17If already started or stopped, abort.Roy Marples
2009-05-07Unset PAM environment variables if not setRoy Marples
2009-05-05Fix compile on NetBSD and FreeBSDRoy Marples
2009-05-02Add runlevel stacking, #88Roy Marples
This implementation has the limitation that you cannot have a stacked runlevel and service of the same name in a runlevel.
2009-05-01Add (c) to CopyrightRoy Marples
2009-05-01Add -i, --ifexists so that we can do thisRoy Marples
rc-sercice -i foo -- restart instead of this rc-service -e foo && rc-service foo -- restart
2009-05-01Fix git versioningRoy Marples
2009-04-30Add -Z, --dry-run option to show which services we would start/stopRoy Marples
without actually doing so. Fixes #151.
2009-04-30Avoid more gcc warning about not checking return values ...Roy Marples
2009-04-30Brand with git version instead of svnRoy Marples
2009-04-30Fix parensJuan RP
2009-04-30Go back to gitRoy Marples
2009-04-28Don't start services when their need dependency is brokenRoy Marples
2009-04-27Add the noshutdown keyword to special case the shutdown.Roy Marples
2009-04-27Fix the nstop keyword.Roy Marples
2009-04-26Add the nostop keyword so that we don't stop the network init script by default.Roy Marples
2009-04-26Use /bin/bash or user shell in /etc/passwd if none set before /bin/sh.Roy Marples
2009-04-24Don't drop to sulogin by default, but make this configurable.Roy Marples
2009-04-24Add missing show levels switch.Roy Marples
2009-04-24rc-status -c now lists services that have crashed.Roy Marples
It returns 0 if there are crashed services, otherwise 1. This it easy to restart crashed services automatically. More for #120.
2009-04-24Cast to intRoy Marples
2009-04-24Allow rc to start (optionally stop) crashed services, #120Roy Marples
2009-04-24Describe interval unitsRoy Marples
2009-04-23Improve style for KNFRoy Marples
2009-04-23Don't include hotplugged services in manual.Roy Marples
2009-04-23Improve the service timeout code and reduce the timeout to 60 seconds.Roy Marples
Don't process any dependencies when changing runlevels and called outside of RC otherwise we can deadlock.
2009-04-22Add the -i, --interpreted option.Roy Marples
This enables the code to include the daemons interpreter when matching process name which fixes bug #164. Existing init scripts that rely on the old behaviour will need to be fixed.
2009-04-19-w, --wait secondsRoy Marples
New option so you can set the number of seconds to wait for and check the daemon is still running. The old code that periodically polled wasn't that reliable - in this case simpler == better. Fixes #160
2009-04-18Don't leak the lock fd.Roy Marples
2009-04-18Fix compile on FreeBSD.Roy Marples
2009-04-18Move status to runscript.sh so init scripts can override it, #159Roy Marples
Return 32 if crashed, #163
2009-04-17Using fifos for locking can be error prone.Roy Marples
flocks are safer, as we only use tmpfs for our lock files. I don't know how this works for inactive just yet though ...
2009-04-02When logging, stdout isn't always a tty, which is the case for VPS Roy Marples
systems, Thanks to mwrobel - fixes #106.
2009-02-28Report if service is not executable.Roy Marples
2009-02-10Fix unmask option, thanks to douglas@openplans.org, #146Roy Marples
2009-02-10Store the file skewed against.Roy Marples
2009-01-18noinit makes more sense than noinitdRoy Marples
2009-01-14Fix locale with svnversion, #140 thanks to Matthias Schwarzott.Roy Marples
2009-01-13yes should be YESRoy Marples
2009-01-13Don't allow SYSVINIT parameters through anymore.Roy Marples
RC_REBOOT is now yes when rebooting. Document the special reboot runlevel.
2009-01-13rc_newer/older_than only report file if time_t is a pointer, so itRoy Marples
should take precedence in the argument list.
2009-01-12We now warn about clock skewsRoy Marples
rc-update -u will force a regen of the dep tree rc_newer_than and rc_olderthan now take another two parameters for newest/oldest file and mtime
2009-01-12Fix ordering, #139 thanks to Matthias.Roy Marples
2009-01-11CopyrightRoy Marples