Skip to content
This repository has been archived by the owner on Nov 18, 2017. It is now read-only.

Commit

Permalink
postgresql: have restart pass arg fields
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua Deare committed Sep 8, 2016
1 parent 9b822de commit d1e594d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions service/postgresql.go
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,9 @@ func (p *postgresql) restart() error {

argFields := strings.Fields(combinedArgs)

argFields = append(argFields, "-o")
argFields = append(argFields, p.serverOptions())

cmd := exec.Command("pg_ctl",
argFields...,
)
Expand Down

0 comments on commit d1e594d

Please sign in to comment.