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:
parent
ca72b600ff
commit
3468fe2599
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue