From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 8EAC7138247 for ; Wed, 8 Jan 2014 19:27:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66EB1E0C38; Wed, 8 Jan 2014 19:27:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F18A0E0C38 for ; Wed, 8 Jan 2014 19:27:28 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C73F533BDD3 for ; Wed, 8 Jan 2014 19:27:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 1F7B1E54AB for ; Wed, 8 Jan 2014 19:27:26 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1389208587.e5a94dd3f4570d74b6e5149253e6d17261cf27f9.williamh@OpenRC> Subject: [gentoo-commits] proj/openrc:master commit in: man/ X-VCS-Repository: proj/openrc X-VCS-Files: man/openrc-run.8 X-VCS-Directories: man/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: e5a94dd3f4570d74b6e5149253e6d17261cf27f9 X-VCS-Branch: master Date: Wed, 8 Jan 2014 19:27:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e0bd408a-a4de-4d81-9452-d6c720eac9ec X-Archives-Hash: 45a401a5327468deac9a6028f670c57b commit: e5a94dd3f4570d74b6e5149253e6d17261cf27f9 Author: William Hubbs gmail com> AuthorDate: Wed Jan 8 19:16:27 2014 +0000 Commit: William Hubbs gentoo org> CommitDate: Wed Jan 8 19:16:27 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=e5a94dd3 Add missing documentation for environment variables 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 --- man/openrc-run.8 | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/man/openrc-run.8 b/man/openrc-run.8 index 0346241..c330e8c 100644 --- a/man/openrc-run.8 +++ b/man/openrc-run.8 @@ -342,6 +342,8 @@ sets the following environment variables for use in the service scripts: .Bl -tag -width "RC_DEFAULTLEVEL" .It Va RC_SVCNAME Name of the service. +.It Va RC_SERVICE +Full path to the service. .It Va RC_RUNLEVEL Current runlevel that OpenRC is in. Note that, in OpenRC, the reboot runlevel is mapped to the shutdown runlevel. This was done because most @@ -367,6 +369,15 @@ The result of `uname -s`. This contains the name of the command the service script is executing, such as start, stop, restart etc. One example of using this is to make a service script behave differently when restart is being executed. +.It Va RC_GOINGDOWN +This variable contains YES if the system is going into single user mode +or shutting down. +.It Va RC_LIBEXECDIR +The value of libexecdir which OpenRC was configured with during build +time. +.It Va RC_NO_UMOUNTS +This variable is used by plugins to contain a list of directories which +should not be unmounted. .El .Sh FILES .Pp