|
@ -4,6 +4,7 @@ |
|
|
|
|
|
|
|
|
## if I'm linked to a schedule-command, then add the scheduler dependency to source service |
|
|
## if I'm linked to a schedule-command, then add the scheduler dependency to source service |
|
|
if read-0 ts _ _ < <(get_service_relation "$SERVICE_NAME" "schedule-command"); then |
|
|
if read-0 ts _ _ < <(get_service_relation "$SERVICE_NAME" "schedule-command"); then |
|
|
|
|
|
if [ "$ts" != "$MASTER_BASE_SERVICE_NAME" ]; then |
|
|
config-add "\ |
|
|
config-add "\ |
|
|
services: |
|
|
services: |
|
|
$MASTER_BASE_SERVICE_NAME: |
|
|
$MASTER_BASE_SERVICE_NAME: |
|
@ -11,6 +12,7 @@ services: |
|
|
- \"$ts\" |
|
|
- \"$ts\" |
|
|
" |
|
|
" |
|
|
fi |
|
|
fi |
|
|
|
|
|
fi |
|
|
|
|
|
|
|
|
exit 0 |
|
|
exit 0 |
|
|
|
|
|
|
|
|