Rhel 7.7 using sudo in ExecStart

前端 未结 0 1639
灰色年华
灰色年华 2021-01-14 04:03

i am trying to start postgres service like this:

ExecStart=/bin/sudo -u pgsql /bin/bash -c "file path"

it seems like you need sudo to create the db b

相关标签:
回答
  • 消灭零回复
提交回复
热议问题