Bladeren bron

Reload unicorn with USR2

master
Benjamin Neff 6 jaren geleden
bovenliggende
commit
2bd548c61c
No account linked to committer's email address
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. +1
    -0
      diaspora/files/diaspora-web.service

+ 1
- 0
diaspora/files/diaspora-web.service Bestand weergeven

@@ -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]

Laden…
Annuleren
Opslaan