mirror of
https://github.com/YunoHost-Apps/acropolis_ynh.git
synced 2024-09-03 18:06:22 +02:00
Fixed service crashing
This commit is contained in:
parent
c42019446a
commit
bb3de77126
1 changed files with 2 additions and 1 deletions
|
@ -8,7 +8,8 @@ User=__APP__
|
|||
WorkingDirectory=__FINALPATH__
|
||||
Environment="RAILS_ENV=production"
|
||||
Environment="PORT=__PORT_WEB__"
|
||||
ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec unicorn -c config/unicorn.rb -D
|
||||
Environment=UNICORN_LISTENER=__FINALPATH__/tmp/sockets/unicorn.sock
|
||||
ExecStart=__RBENV_ROOT__/versions/__APP__/bin/bundle exec unicorn --config config/unicorn.rb -E production
|
||||
ExecReload=/bin/kill -SIGUSR1 $MAINPID
|
||||
TimeoutSec=60
|
||||
RestartSec=60
|
||||
|
|
Loading…
Reference in a new issue