SERVICE-POLICY.D(5) | SERVICE-POLICY.D(5) |
/etc/service-policy.d/*.pol - configuration for policy-rc.d-declarative
/etc/service-policy.d/*.pol
Files in the directory /etc/service-policy.d are opened and parsed by the policy-rc.d-declarative script. Lines should have exactly three fields of data which are separated by whitespace; any trailing whitespace is ignored.
All files are opened in order by file name; following that, all rules in a file are evaluated in order.
The first rule that matches a given service with a given action is applied. All further rules are ignored.
If no rule matches a given service with a given action, the default is to exit with exit state 100, which signals "unknown initscript id" to the calling update-rc.d program.
The file contains the following fields:
Note that at the time of this writing, not all PID1 implementations support this. Notably, the systemd version of invoke-rc.d does not support overriding actions.
/usr/share/doc/init-system-helpers/README.policy-rc.d.gz, policy-rc.d-declarative(1)
2020-11-23 |