summaryrefslogtreecommitdiff
path: root/man/runscript.8
Commit message (Collapse)AuthorAge
* Rename runscript to openrc-runHEADmasterWilliam Hubbs2013-12-29
| | | | | | | | | | 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
* Rename the rc binary to openrcWilliam Hubbs2013-12-12
| | | | | | | | | | | 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
* 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
* 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
* 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 retry documentation on runscript man pageWilliam Hubbs2011-12-30
|
* 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
|
* 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>
* random spelling fixesMike Frysinger2010-01-08
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Add support for Linux Containers, fixes #202.Roy Marples2009-11-04
| | | | Patch by bug reporter.
* 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.
* Add (c) to CopyrightRoy Marples2009-05-01
|
* Add -Z, --dry-run option to show which services we would start/stopRoy Marples2009-04-30
| | | | | without actually doing so. Fixes #151.
* Add the noshutdown keyword to special case the shutdown.Roy Marples2009-04-27
|
* Add the nostop keyword so that we don't stop the network init script by default.Roy Marples2009-04-26
|
* Typo.Roy Marples2008-12-30
|
* More Typos.Roy Marples2008-11-04
|
* Style.Roy Marples2008-09-19
|
* Document the limitation of symlinking services outside of the service ↵Roy Marples2008-09-19
| | | | directory, Gentoo #237263.
* Fix is_older_than a little better, and make is_newer_than correct.Roy Marples2008-07-03
|
* Add the ewaitfile function so init scripts can wait until sockts are ↵Roy Marples2008-06-03
| | | | created, Gentoo #175783.
* SVCNAME -> RC_SVCNAME, but export SVCNAME still for compat.Roy Marples2008-03-19
|
* Add rc-service and update all softlevel refs to runlevel.Roy Marples2008-03-19
|