Skip to content

Commit

Permalink
ncm-metaconfig: Switch to using standard caf_serviceaction
Browse files Browse the repository at this point in the history
  • Loading branch information
jrha committed Dec 9, 2022
1 parent 7b59b82 commit b929c61
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ncm-metaconfig/src/main/pan/components/metaconfig/schema.pan
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ type ${project.artifactId}_textrender_convert = {
true;
};

type caf_service_action = string with match(SELF, '^(restart|condrestart|reload|stop_sleep_start)$');

type ${project.artifactId}_actions = {
@{Always run, happens before possible modifications.
A failure will cancel any file modification, unless the command is prefixed with -.}
Expand Down Expand Up @@ -116,7 +114,7 @@ type ${project.artifactId}_config = {
for the daemon will be taken at most once.
If multiple actions are to be taken for the same daemon, all actions
will be taken (no attempt to optimize is made).}
'daemons' ? caf_service_action{}
'daemons' ? caf_serviceaction{}
@{Module to render the configuration file. See 'CONFIGURATION MODULES' in manpage.}
'module' : string
@{Extension for the file's backup.}
Expand Down

0 comments on commit b929c61

Please sign in to comment.