aboutsummaryrefslogtreecommitdiff
path: root/man
AgeCommit message (Collapse)Author
2016-07-18rc-status: add -m/--manual option to show manually started servicesWilliam Hubbs
X-Gentoo-Bug: 585906 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=585906
2016-06-23man: Document the procname variable for openrc-runMike Gilbert
X-Gentoo-Bug: 586794 X-Gentoo-Bug-URL: https://bugs.gentoo.org/586794
2016-04-27add daemon supervisorWilliam Hubbs
The supervise-daemon process is meant to be a lightweight supervisor which can monitor and restart a daemon if it crashes.
2016-01-28rc-service: add --ifinactive and --ifnotstarted flagsWilliam Hubbs
X-Gentoo-Bug: 523174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=523174
2016-01-21librc: Complain when a real and virtual service have the same nameWilliam Hubbs
2015-12-21Convert OpenRC to a centralized copyright/license structureWilliam Hubbs
In the past, OpenRC was a hybrid of a centralized and file-scope license/copyright structure. I followed the instructions from the Software Freedom Law Center [1] to convert to a Centralized structure where possible, for easier future maintenance. [1] https://softwarefreedom.org/resources/2012/ManagingCopyrightInformation.html
2015-12-03man/openrc-run.8: Clarify documentation on dependencies and keywordsWilliam Hubbs
Provide an example of using the -containers keyword and clarify documentation on some of the dependency functions.
2015-12-03add support for -containers keywordWilliam Hubbs
2015-12-02Add detection for rkt containersWilliam Hubbs
2015-12-02Add detection for docker containersWilliam Hubbs
2015-11-12Implement "want" dependencyIan Stakenvicius
The want dependency is similar to the use dependency. If a service script, for example called service1, adds "want service2" to its depend function, OpenRC will attempt to start service2, if it exists on the system, when service1 is started. However, service1 will start regardless of the status of service2. X-Gentoo-Bug: 406021 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406021
2015-06-10Add rc-sstat scriptWilliam Hubbs
The rc-sstat script is written to display status of s6 services and run rc-status to display all services status. This currently only works on Linux.
2015-05-27man: Document the stopsig variableMike Gilbert
This variable can be used to set the signal to send if the service is using start-stop-daemon. This fixes #56
2015-05-14s6: Use s6-svc -Dd to stop servicesWilliam Hubbs
This allows us to get rid of the sleep call in the stop function. Also, we set a configurable timeout value for stopping daemons.
2015-05-13Fix the s6 handlingWilliam Hubbs
This changes the default s6 service directory to /var/svc.d, also it changes the code to work with the individual services instead of forcing a rescan when a service is started or stopped.
2015-05-11Add support for the s6 supervision suiteWilliam Hubbs
2015-05-11man: Clarify the documentation for command_argsWilliam Hubbs
The command_args variable only works if using start-stop-daemon to start the daemon.
2014-11-22Fix mdoc warning for empty line in rc-update man page.S. Gilles
X-Gentoo-Bug: 529374 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=529374
2014-10-20runscript.sh: add chroot supportWilliam Hubbs
This adds support for a chroot variable which will be passed to the start-stop-daemon --chroot switch to runscript.sh when starting a daemon. This also needs to be saved so it can be used in locating the pid file when stopping the daemon. X-Gentoo-Bug: 524388 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=524388
2014-09-19man: Document start_inactive and in_background_fakeWilliam Hubbs
2014-07-13man/openrc-run.8: more updates and clarifications for checkpathWilliam Hubbs
X-Gentoo-Bug: 500606 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
2014-07-13man/openrc.8: update checkpath documentationAlexander V Vershilov
X-GENTOO-BUG: 500606 X-GENTOO-BUG-URL: https://bugs.gentoo.org/show_bug.cgi?id=500606
2014-07-11typo fixAlexander V Vershilov
2014-06-21man/start-stop-daemon.8: correct argument from --nice to --nicelevelWilliam Hubbs
X-Gentoo-Bug: 510648 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=510648
2014-01-13rc-update: add option to remove a service from all runlevelsBenda Xu
The -a option,which only applies to the del command, is used to remove a service from all runlevels. X-Gentoo-Bug: 497740 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=497740
2014-01-08Add missing documentation for environment variablesWilliam Hubbs
Add documentation for the RC_SERVICE, RC_GOINGDOWN, RC_LIBEXECDIR and RC_NO_UMOUNTS environment variables. X-Gentoo-Bug: 489344 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=489344
2013-12-29Rename runscript to openrc-runWilliam Hubbs
This was requested by Debian, because the minicom software, which is available on Debian and other distros, has a binary named runscript. We are keeping a backward compatibility symlink for now, but this allows Debian or any other distro to safely remove the symlink. X-Gentoo-Bug: 494220 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=494220
2013-12-12Rename the rc binary to openrcWilliam Hubbs
Debian requested this rename due to the "rc" binary conflicting with the "rc" binary from the plan 9 shell. We also add a deprecation warning to the binary when it is run as rc to encourage users to switch to openrc instead. X-Gentoo-Bug: 493958 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=493958
2013-10-21Revert "Make einfo routines private"William Hubbs
This reverts commit de88aff0a839844526ae262f8961ec4372fed238. I was advised that splashutils links to libeinfo, so we do have a consumer for this library.
2013-09-26Make einfo routines privateWilliam Hubbs
The libeinfo library has no consumers other than OpenRC, so there is no reason for it to be maintained as a library. The einfo routines are now an object that links with the rc binary.
2013-09-03libeinfo: add separate variable to suppress eerror messagesWilliam Hubbs
Add an EERROR_QUIET environment variable which works like EINFO_QUIET but for the eerror functions. This will allow library consumers to choose whether to suppress eerror messages separately from einfo and ewarn messages. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396
2013-08-28libeinfo: suppress output for eerror* functionsWilliam Hubbs
This makes the eerror* functions honor the EINFO_QUIET environment variable like the einfo* and ewarn* functions. X-Gentoo-Bug: 482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396
2013-08-27Revert "Libeinfo: do not suppress ewarn() messages"William Hubbs
This reverts commit 4ee62c7903c65557c493f51d6703264a816156cd. The previously referenced commit broke consistency because ewarnx() was respecting the EINFO_QUIET environment setting, but after this commit, ewarn() was not. Also, due to discussion on the below referenced bugs, I think we do want to suppress warnings when EINFO_QUIET=yes. X-Gentoo-Bug: 482396 X-Gentoo-Bug: 439174 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=482396 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=439174
2013-08-24man/runscript.8: minor grammar fixesWilliam Hubbs
2013-08-15fix typo on runscript man pageWilliam Hubbs
The example code had an invalid checkpath option (--dir instead of --directory) and a mode that does not make sense for directories (664 instead of 775). X-Gentoo-Bug: 481034 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=481034
2013-08-13Clarify the documentation about the restart functionWilliam Hubbs
Restart has never been able to be overridden in OpenRc, but there is a way to make your service script behave differently when restart is being executed. X-Gentoo-Bug: 480866 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=480866
2013-05-02Add service appletWilliam Hubbs
The service applet is equivalent to rc-service. This was added so that we will be more compatible with Debian and Fedora. Reported-by: cardoe@gentoo.org X-Gentoo-Bug: 468168 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=468168
2013-04-28rc: allow switching runlevels without stopping servicesWilliam Hubbs
OpenRC, by default, stops all services that are not listed in a runlevel when rc is used to switch runlevels. This adds a -n/--no-stop command line option to rc which tells it to skip stopping the services which are not in the runlevel. Reported-by: gentoo@thoth.purplefrog.com X-Gentoo-Bug: 372585 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=372585
2013-03-20runscript: update documentation for the provide functionWilliam Hubbs
Explain that virtual services take precedence over real services and recommend that virtual services have different names from real services. Reported-by: me@2gw.net X-Gentoo-Bug: 461818 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=461818
2012-10-21fix typo in rc-status.8Andrew Gregory
Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
2012-10-16Revert "Prepare for real "restart" support"Christian Ruppert
This reverts commit c5bb6829d00a4034f7294aa4af79d5d114572ac1. That was meant for my local devel branch :)
2012-10-12Prepare for real "restart" supportChristian Ruppert
2012-09-25small runscript man page cleanupsWilliam Hubbs
2012-09-25Drop restart_pre/restart_postWilliam Hubbs
By design, restart is hard coded to run stop followed by start along with all of the pre/post functions associated with them. Restart doesn't need its own pre/post functions since it is possible to make any function in an init script behave differently for a restart command by testing against the RC_CMD environment variable.
2012-09-23Clarify how to handle restart processingWilliam Hubbs
The Gentoo developer manual covers how to handle restarts in init scripts, but this was not officially covered in OpenRc's Documentation. This commit adds an example to the runscript man page that shows how this works.
2012-09-22Add restart_pre/restart_post support, also document RC_CMDChristian Ruppert
2012-09-09add RC_PREFIX environment variableWilliam Hubbs
This will be used by init scripts which want to be able to run in a Gentoo Prefix installation. RC_PREFIX will contain the prefix offset.
2012-07-26Bring Back prefix supportWilliam Hubbs
We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
2012-03-24Document the required_dirs and required_files variablesWilliam Hubbs
2012-03-03Runscript: allow extra_commands to be run in chrootsWilliam Hubbs
The commands defined in the extra_commands variable do not depend on whether the service is stopped or started, so it is valid to run them in chroot environments. Also, add a note to the runscript man page about the commands in extra_commands being able to run whether or not the service is started. Reported-by: Robin Johnson <robbat2@gentoo.org> X-Gentoo-Bug: 406713 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=406713