---
name: "runit-policy-rc.d"
section: "8"
platform: "linux"
package: "runit-run"
version: "1.0.0"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/runit-policy-rc.d"
---

# runit-policy-rc.d(8)

runit's init script policy for invoke-rc.d(8)

## NAME

runit-policy-rc.d - runit's init script policy for [invoke-rc.d(8)](/invoke-rc.d/8.md)

## SYNOPSIS

**policy-rc.d** \[--quiet\] *initscriptID* *actions* \[*runlevel*\]

**policy-rc.d** --list *initscriptID* \[*runlevel* ...\]

## DESCRIPTION

**policy-rc.d** is consulted by [**invoke-rc.d**(8)](/invoke-rc.d/8.md) to determine if a particular init script is to be run or not. The [**runit**(8)](/runit/8.md) Unix init scheme provides service management and service supervision through run scripts, and doesn't use SystemV alike init scripts. The services are controlled through the [**sv**(8)](/sv/8.md) program, which optionally can be symlinked to /etc/init.d/*initscriptID* to provide an LSB compatible interface to init script actions.

**runit-policy-rc.d**'s policy is to only run init scripts, if the 'script' is a symbolic link to the sv program.

## OPTIONS

- **--quiet**

  no error messages are generated.

- **--list**

  instead of verifying policy, list (in a "human parseable" way) all policies defined for the given *initscriptID* (for all runlevels if no *runlevels* are specified; otherwise, list it only for the *runlevels* specified), as well as all known actions and their fallbacks for the given *initscriptID* (note that actions and fallback actions might be global and not particular to a single initscript id).

  **runit-policy-rc.d** always prints \`\`runit's init script policy is to only run init scripts, if the 'script' is a symbolic link to the sv program.'' and the output of

   ls -l /etc/init.d/*initscriptID*

## SEE ALSO

*[invoke-rc.d(8)](/invoke-rc.d/8.md),* *[update-rc.d(8)](/update-rc.d/8.md),* *[sv(8)](/sv/8.md),* *[runsv(8)](/runsv/8.md)*
