16306: Packaging dev cycle, type=production support in lib/boot.
[arvados.git] / lib / boot / postgresql.go
index 34ccf04a88dbd68a7822cc75b13da972e32844ee..199a93a9d5f0724df73b47b91d73e6e3a2409a72 100644 (file)
@@ -36,6 +36,10 @@ func (runPostgreSQL) Run(ctx context.Context, fail func(error), super *Superviso
                return err
        }
 
+       if super.ClusterType == "production" {
+               return nil
+       }
+
        iamroot := false
        if u, err := user.Current(); err != nil {
                return fmt.Errorf("user.Current(): %s", err)