瀏覽代碼

Reload unicorn with USR2

tags/v1.0.0
Benjamin Neff 6 年之前
父節點
當前提交
2bd548c61c
No account linked to committer's email address
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      diaspora/files/diaspora-web.service

+ 1
- 0
diaspora/files/diaspora-web.service 查看文件

@@ -8,6 +8,7 @@ User={{ diaspora.user.username }}
Environment=RAILS_ENV={{ diaspora.configuration.server.rails_environment }}
WorkingDirectory={{ diaspora.install_path }}
ExecStart=/bin/bash -lc "bin/bundle exec unicorn -c config/unicorn.rb -E {{ diaspora.configuration.server.rails_environment }}"
ExecReload=/bin/kill -USR2 $MAINPID
Restart=always

[Install]

Loading…
取消
儲存