Feature #867
Runlevel adjust action
Status: | CLOSED | Start date: | 03/13/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | nethserver-base | |||
Target version: | DEV1 | |||
Resolution: | NEEDINFO: |
Description
This action is plugged-in when a package needs to modify the runlevel configuration.
Instead of calling chkconfig
or similar directly the package MUST link this action.
configuration
database:
- if service has a comma-separated list of runlevel numbers in prop
Runlevels
, for each runlevel:- if service has
status
enabled
it is enabled on startup - else service is disabled
- if service has
e.g.
httpd-admin=service TCPPort=980 access=localhost status=enabled Runlevels=2,3,4,5
Related issues
Associated revisions
runlevel-adjust: added runlevel configurator action. Refs #867 - Runlevel adjust action
Also the Runlevels
prop of each service changes the action behaviour.
httpd-admin default configuration database: added Runlevels 2,3,4,5 prop. Refs #867 - Runlevel adjust action
History
#1 Updated by Davide Principi over 9 years ago
- Status changed from NEW to CLOSED
- Assignee set to Davide Principi
- % Done changed from 0 to 100
Only the runlevels specified in Runlevels
prop are affected by this action.
Service records that are missing Runlevels
prop are skipped.
#2 Updated by Davide Principi over 9 years ago
- Description updated (diff)
#3 Updated by Davide Principi over 8 years ago
- Project changed from 1 to NethServer 6