diff --git a/src/lib66/parser_utils.c b/src/lib66/parser_utils.c index 1107490706f505f9b8e2989f796f4c604cb6efad..540766b918baa4cf9fd6344fe5d10d30217a90e5 100644 --- a/src/lib66/parser_utils.c +++ b/src/lib66/parser_utils.c @@ -352,8 +352,6 @@ int check_mandatory(sv_alltype *service, section_t *sasection) if (sasection->idx[SECTION_STOP]) { - if (service->type.oneshot.down.build < 0) - log_warn_return(LOG_EXIT_ZERO,"key @build at section [stop] must be set") ; if ((service->type.oneshot.down.build == BUILD_CUSTOM) && (service->type.oneshot.down.shebang < 0)) log_warn_return(LOG_EXIT_ZERO,"custom build asked on section [stop] -- key @shebang must be set") ; if (service->type.oneshot.down.exec < 0) @@ -370,8 +368,6 @@ int check_mandatory(sv_alltype *service, section_t *sasection) if (sasection->idx[SECTION_STOP]) { - if (service->type.classic_longrun.finish.build < 0) - log_warn_return(LOG_EXIT_ZERO,"key @build at section [stop] must be set") ; if ((service->type.classic_longrun.finish.build == BUILD_CUSTOM) && (service->type.classic_longrun.finish.shebang < 0)) log_warn_return(LOG_EXIT_ZERO,"custom build asked on section [stop] -- key @shebang must be set") ; if (service->type.classic_longrun.finish.exec < 0)