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 pre-existing pid file

This commit is contained in:
yalh76 2022-05-20 21:22:29 +02:00
parent ca72b600ff
commit 3468fe2599

View file

@ -9,6 +9,7 @@ WorkingDirectory=__FINALPATH__
Environment="__LD_PRELOAD__"
Environment="__YNH_RUBY_LOAD_PATH__"
Environment="RAILS_ENV=production"
ExecStartPre=-/bin/bash -c 'rm -f __FINAL_PARH__/tmp/pids/server.pid'
ExecStart=__FINALPATH__/bin/bundle exec rails s puma -p __PORT__ -b 0.0.0.0
ExecReload=/bin/kill -SIGUSR1 $MAINPID
TimeoutSec=15