X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5722e7f91d3ab4df898dec0d301c0653ac7995b3..32c63d03d45d231768eb1497dfc5e9f4a0d23c16:/lib/boot/service.go diff --git a/lib/boot/service.go b/lib/boot/service.go index b27a746228..506407f4e8 100644 --- a/lib/boot/service.go +++ b/lib/boot/service.go @@ -47,7 +47,15 @@ func (runner runServiceCommand) Run(ctx context.Context, fail func(error), super super.waitShutdown.Add(1) go func() { defer super.waitShutdown.Done() - fail(super.RunProgram(ctx, super.tempdir, runOptions{env: []string{"ARVADOS_SERVICE_INTERNAL_URL=" + u.String()}}, binfile, runner.name, "-config", super.configfile)) + fail(super.RunProgram(ctx, super.tempdir, runOptions{ + env: []string{ + "ARVADOS_SERVICE_INTERNAL_URL=" + u.String(), + // Child process should not + // try to tell systemd that we + // are ready. + "NOTIFY_SOCKET=", + }, + }, binfile, runner.name, "-config", super.configfile)) }() } return nil