Преглед изворни кода

Add PIDFile for unicorn

master
Benjamin Neff пре 6 година
родитељ
комит
9811293fd8
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 Прегледај датотеку

User={{ diaspora.user.username }} User={{ diaspora.user.username }}
Environment=RAILS_ENV={{ diaspora.configuration.server.rails_environment }} Environment=RAILS_ENV={{ diaspora.configuration.server.rails_environment }}
WorkingDirectory={{ diaspora.install_path }} WorkingDirectory={{ diaspora.install_path }}
PIDFile={{ diaspora.install_path }}/tmp/pids/web.pid
ExecStart=/bin/bash -lc "bin/bundle exec unicorn -c config/unicorn.rb -E {{ diaspora.configuration.server.rails_environment }}" ExecStart=/bin/bash -lc "bin/bundle exec unicorn -c config/unicorn.rb -E {{ diaspora.configuration.server.rails_environment }}"
ExecReload=/bin/kill -USR2 $MAINPID ExecReload=/bin/kill -USR2 $MAINPID
Restart=always Restart=always

Loading…
Откажи
Сачувај