Sfoglia il codice sorgente

Add PIDFile for unicorn

tags/v1.0.0
Benjamin Neff 6 anni fa
parent
commit
9811293fd8
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      diaspora/files/diaspora-web.service

+ 1
- 0
diaspora/files/diaspora-web.service Vedi File

@@ -7,6 +7,7 @@ StopWhenUnneeded=true
User={{ diaspora.user.username }}
Environment=RAILS_ENV={{ diaspora.configuration.server.rails_environment }}
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 }}"
ExecReload=/bin/kill -USR2 $MAINPID
Restart=always

Loading…
Annulla
Salva