Homestead 如果暂时不想使用 PostgreSQL 如何优雅关闭?
个人工作中目前基本上用不到PostgreSql
。而最近在家切换到了Homestead
开发环境当中。折腾了一番过后发现如果目前用不到的服务如何关闭掉了。
我目前是在Ubuntu里让他开机不自动启动了。
但是我如果执行vagrant provision
的时候报
==> default: createdb: could not connect to database template1: could not connect to server: No such file or directory
==> default: Is the server running locally and accepting
==> default: connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
The SSH command responded with a non-zero exit status. Vagrant
assumes that this means the command failed. The output for this command
should be in the log above. Please read the output to determine what
went wrong.
所以我想请问有没有什么配置是可以在配置文件(比如homestead.yaml)中设置关闭的
推荐文章: