mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
commit
b25ee64153
1 changed files with 6 additions and 0 deletions
|
@ -252,6 +252,12 @@ PIDFile=<WD>/shared/tmp/pids/puma.pid
|
|||
# reconsider if you actually need the forking config.
|
||||
Restart=no
|
||||
|
||||
# `puma_ctl restart` wouldn't work without this. It's because `pumactl`
|
||||
# changes PID on restart and systemd stops the service afterwards
|
||||
# because of the PID change. This option prevents stopping after PID
|
||||
# change.
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue