16306: Packaging dev cycle, type=production support in lib/boot.
[arvados.git] / lib / boot / service.go
index 5afacfe7161c28604e8d56de4a5f83a7c80f320f..77fdc98be038a465b1f240bba1a92e252f8a2f5f 100644 (file)
@@ -30,8 +30,8 @@ func (runner runServiceCommand) String() string {
 }
 
 func (runner runServiceCommand) Run(ctx context.Context, fail func(error), super *Supervisor) error {
-       binfile := filepath.Join(super.tempdir, "bin", "arvados-server")
-       err := super.RunProgram(ctx, super.tempdir, nil, nil, binfile, "-version")
+       binfile := filepath.Join(super.bindir, "arvados-server")
+       err := super.RunProgram(ctx, super.bindir, nil, nil, binfile, "-version")
        if err != nil {
                return err
        }