mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2025-04-20 07:11:33 +02:00
fix finally server pid issue at docker container restart
This commit is contained in:
parent
d58e0091bb
commit
28ade2a8d9
2 changed files with 12 additions and 0 deletions
8
docker-entrypoint.sh
Executable file
8
docker-entrypoint.sh
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
if [ -f ./tmp/pids/server.pid ]; then
|
||||
rm ./tmp/pids/server.pid
|
||||
fi
|
||||
|
||||
exec bundle exec "$@"
|
Loading…
Add table
Add a link
Reference in a new issue