【发布时间】:2016-10-28 00:47:28
【问题描述】:
我已按照 DigitalOcean 指南 here 和 here 中的步骤使用 nginx 和 Unicorn 设置 Sinatra 服务器。我在倒数第二步:
启动 Unicorn 并使用配置文件将其作为守护进程运行: 确保您在应用程序目录中 即 /my_app
unicorn -c unicorn.rb -D
运行该命令,我得到错误:
pid=/var/www/twimpush/pids/unicorn.pid 的目录不可写 (参数错误)
我以root 和名为deployer 的用户的身份尝试过此操作,我授予了该用户写入权限。
【问题讨论】:
标签: linux nginx file-permissions unicorn