diff --git a/conf/fab-manager-app.service b/conf/fab-manager-app.service index d65defb..f1bbf6d 100644 --- a/conf/fab-manager-app.service +++ b/conf/fab-manager-app.service @@ -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