summaryrefslogtreecommitdiff
path: root/man
Commit message (Collapse)AuthorAge
* Make einfo routines privateWilliam Hubbs2013-09-26
| | | | | | 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.
* libeinfo: add separate variable to suppress eerror messagesWilliam Hubbs2013-09-03
| | | | | | | | | | 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
* libeinfo: suppress output for eerror* functionsWilliam Hubbs2013-08-28
| | | | | | | | 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
* Revert "Libeinfo: do not suppress ewarn() messages"William Hubbs2013-08-27
| | | | | | | | | | | | | | | 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
* man/runscript.8: minor grammar fixesWilliam Hubbs2013-08-24
|
* fix typo on runscript man pageWilliam Hubbs2013-08-15
| | | | | | | | | 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
* Clarify the documentation about the restart functionWilliam Hubbs2013-08-13
| | | | | | | | | 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
* Add service appletWilliam Hubbs2013-05-02
| | | | | | | | | 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
* rc: allow switching runlevels without stopping servicesWilliam Hubbs2013-04-28
| | | | | | | | | | | 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
* runscript: update documentation for the provide functionWilliam Hubbs2013-03-20
| | | | | | | | | 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
* fix typo in rc-status.8Andrew Gregory2012-10-21
| | | | Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com>
* Revert "Prepare for real "restart" support"Christian Ruppert2012-10-16
| | | | | | This reverts commit c5bb6829d00a4034f7294aa4af79d5d114572ac1. That was meant for my local devel branch :)
* Prepare for real "restart" supportChristian Ruppert2012-10-12
|
* small runscript man page cleanupsWilliam Hubbs2012-09-25
|
* Drop restart_pre/restart_postWilliam Hubbs2012-09-25
| | | | | | | | 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.
* Clarify how to handle restart processingWilliam Hubbs2012-09-23
| | | | | | | 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.
* Add restart_pre/restart_post support, also document RC_CMDChristian Ruppert2012-09-22
|
* add RC_PREFIX environment variableWilliam Hubbs2012-09-09
| | | | | 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.
* Bring Back prefix supportWilliam Hubbs2012-07-26
| | | | | We now have a team member who is interested in OpenRC on prefix, so I am bringing it back to the main tree.
* Document the required_dirs and required_files variablesWilliam Hubbs2012-03-24
|
* Runscript: allow extra_commands to be run in chrootsWilliam Hubbs2012-03-03
| | | | | | | | | | | | | 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
* Remove prefix supportopenrc-0.9.9William Hubbs2012-02-21
| | | | | I spoke with the prefix team sometime back and was told that they do not have an interest in using OpenRC on prefix systems.
* Clarify the documentation about the reboot runlevelWilliam Hubbs2012-02-19
| | | | | The reboot runlevel does exist, but it gets remapped to the shutdown runlevel internally.
* Document the RC_REBOOT variableWilliam Hubbs2012-02-19
|
* Add -W/--writable function to checkpathChristian Ruppert2012-01-26
| | | | | | | | Checkpath -W will use access(3p) to determine whether or not a path is writable. This is more accurate than test(1p) because it also takes into account whether or not the filesystem is mounted read-only. Modified by William Hubbs to add the man page update.
* WhitespaceChristian Ruppert2012-01-22
|
* Use the "--make-pidfile" when command_background is usedChristian Ruppert2012-01-17
| | | | | | | | | | The start-stop-daemon "--make-pidfile" option is now used by default when using command_background, this requires a pidfile to be specified. Document command_background option. Reported-by: Giampaolo Tomassoni <giampaolo@tomassoni.biz> X-Gentoo-Bug: 399165 X-Gentoo-Bug-URL: https://bugs.gentoo.org/399165
* Add "ifstopped" command to runscriptChristian Ruppert2012-01-15
| | | | Signed-off-by: Christian Ruppert <idl0r@gentoo.org>
* rc/checkpath: tmpfiles.d backend creation codeRobin H. Johnson2012-01-09
| | | | | | | | | | This commit provides the checkpath applet with feature parity to systemd's tmpfiles.c create_item function. Very similarly to the systemd function, it does NOT do any of the cleanup work in this function. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Reword the documentation for the retry option for start-stop-daemonWilliam Hubbs2011-12-30
|
* Reword retry documentation on runscript man pageWilliam Hubbs2011-12-30
|
* Fix the description of --retry in start-stop-daemon(8)Christian Ruppert2011-12-31
| | | | | | X-Gentoo-Bug: 368615 X-Gentoo-Bug-URL: https://bugs.gentoo.org/368615 Reported-by: Stuart Shelton <srcshelton@gmail.com>
* Add "retry" option for the stop() templateChristian Ruppert2011-12-31
|
* Documentation updatesWilliam Hubbs2011-12-30
| | | | | | - Clarify that start_stop_daemon_args is only used when starting a daemon. - fix several typos.
* Document start_stop_daemon_argsChristian Ruppert2011-12-30
|
* Allow init scripts to be executed with a relative pathWilliam Hubbs2011-12-11
| | | | | | | | | | This was a regression that was caused by the fix for http://bugs.gentoo.org/show_bug.cgi?id=350910. I am reverting the commit that we said fixed that bug and re-opening it. Reported-By: Nathaniel <nathaniel@paust.us X-Gentoo-Bug: 392457 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=392457
* make shell math operations style more succulentMike Frysinger2011-11-19
| | | | | | | | | | | Convert the style: var=$((${var} + 1)) to: : $(( var += 1 )) The latter is easier to read imo. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add support for extra_stopped_commandsWilliam Hubbs2011-11-16
|
* Libeinfo: do not suppress ewarn() messagesWilliam Hubbs2011-08-22
| | | | | | | | | | The ewarn() function was affected by the EINFO_QUIET environment variable which lead to warning messages being suppressed. Warnings should not be suppressed. Reported-by: Hanno Boeck <hanno@gentoo.org> X-Gentoo-Bug: 380073 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=380073
* Improve processing of service directories and conf.d filesWilliam Hubbs2011-07-31
| | | | | | | | | | | symbolic links should not be followed in an attempt to work out the name of the service we are running. Also, @sysconfdir@/conf.d should be tried as a backup directory for configuration files. I would like to thank Robin Johnson for his input on this change. X-Gentoo-Bug: 350910 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=350910
* drop useless "All rights reserved" noticeMike Frysinger2011-06-29
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* clarify documentation for -timeout keywordWilliam Hubbs2011-04-08
|
* Update manpage for mention of rc_sys purpose.Robin H. Johnson2011-01-05
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* Document the order of the services within rc-status output.Robin H. Johnson2011-01-05
|
* random spelling fixesMike Frysinger2010-01-08
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* start-stop-daemon can now set process IO scheduling.Roy Marples2009-12-14
|
* Add support for Linux Containers, fixes #202.Roy Marples2009-11-04
| | | | Patch by bug reporter.
* fix wait time for gentoo bug 288495William Hubbs2009-10-15
| | | | The wait time was in seconds. This patch converts it to milliseconds.
* Add -P to start-stop-daemon to display a . for each second elapsed.Roy Marples2009-09-04
| | | | Fixes #197.
* We should use -feature instead of nofeature.Roy Marples2009-07-01
| | | | | | This matches the ifconfig and Gentoo USE flag syntax and is hopefully easier to read. Fixes #178.