diff --git a/doc/remove.md b/doc/remove.md index 1686f84436178d7e020a73e37bbde63ae4c56e5a..5f48c6d732734f4668c91a5e5f45359f226bdfce 100644 --- a/doc/remove.md +++ b/doc/remove.md @@ -14,7 +14,7 @@ This command remove all components of a service. This operation **cannot be** un ## Interface ``` -remove [ -h ] [ -P ] service +remove [ -h ] [ -P ] service... ``` This command remove all files belongs to *service* from the system even its log file. The only exception is its [frontend](frontend.html) file. @@ -23,6 +23,8 @@ If the *service* is running, it will be stopped and unsupervised before removing In case of `module` *service* type, all *services* declared within the `module` will be removed. The `-P` has no effect on the *services* within the `module` and only affects the module's dependencies. +If the associated tree of *service* is a part of the group `boot`, the service is not stopped and not unsupervised. The changes will occur at the next boot. + This command handles [interdependencies](66.html#handling-dependencies). ## Options @@ -39,4 +41,4 @@ Removes the service `foo` Removes the service `foo` without touching its interdependencies ``` 66 remove -P foo -``` \ No newline at end of file +``` diff --git a/src/lib66/exec/ssexec_help.c b/src/lib66/exec/ssexec_help.c index e4bb13037c8586363ea39973a54b397e9e5b45c7..611f3f813a6299ad1da842cae8df5c1a8417bf62 100644 --- a/src/lib66/exec/ssexec_help.c +++ b/src/lib66/exec/ssexec_help.c @@ -244,7 +244,7 @@ char const *help_state = " -h: print this help\n" ; -char const *usage_remove = "66 remove [ -h ] [ -P ] service" ; +char const *usage_remove = "66 remove [ -h ] [ -P ] service..." ; char const *help_remove = "\nremove services and cleanup all files belong to it from the system\n"