Skip to content
Snippets Groups Projects
Commit 1a68b26b authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

please remove @build field even for [stop] section framboise!

parent 9b850515
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment