1
0
Fork 0
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:
Joshua Botz 2021-11-17 15:38:12 -05:00
parent c42019446a
commit bb3de77126

View file

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