1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/fab-manager_ynh.git synced 2024-09-03 18:36:16 +02:00

Fix service puma call

This commit is contained in:
Salamandar 2024-06-30 17:25:45 +02:00
parent 00095b5b9b
commit 283ba539ef

View file

@ -12,7 +12,7 @@ EnvironmentFile=__INSTALL_DIR__/.env
Environment="RAILS_ENV=production"
ExecStartPre=-rm -f __INSTALL_DIR__/tmp/pids/server.pid
ExecStart=__INSTALL_DIR__/bin/bundle exec rails s puma -p __PORT__ -b 127.0.0.1
ExecStart=__INSTALL_DIR__/bin/bundle exec rails service -u puma -p __PORT__ -b 127.0.0.1
ExecReload=/bin/kill -SIGUSR1 $MAINPID
TimeoutSec=15
Restart=always