Ha *_*ham 39 postgresql macos service launchd postgresql-9.3
我已经安装了postgresql
via HomeBrew
.它工作但今天我发现postgresql
计算机启动时服务器不运行.
我尝试使用launchctl
以下命令再次加载它:
$ launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Run Code Online (Sandbox Code Playgroud)
我看到了这样的信息:
/usr/local/Cellar/postgresql/9.3.4/homebrew.mxcl.postgresql.plist: Service is disabled
Run Code Online (Sandbox Code Playgroud)
我不知道如何启用postgresql服务.有人能告诉我吗?
Par*_*fna 83
使用-w
选项launchctl
.
$ launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist
Run Code Online (Sandbox Code Playgroud)
-w
覆盖Disabled键并将其设置为false.
归档时间: |
|
查看次数: |
14601 次 |
最近记录: |