mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-31 11:11:30 +00:00
Addressing issue #896 by checking for leftover pid file, and removing it if it exists
This commit is contained in:
parent
8b8221e174
commit
99ebeb80b8
1 changed files with 5 additions and 0 deletions
|
@ -6,6 +6,11 @@ cd /app
|
|||
# Default to the environment variable values set in .env.example
|
||||
source /app/.env.example
|
||||
|
||||
# Cleanup any leftover pid file
|
||||
if [ -f /app/tmp/pids/server.pid ]; then
|
||||
rm -f /app/tmp/pids/server.pid
|
||||
fi
|
||||
|
||||
# is a mysql or postgresql database linked?
|
||||
# requires that the mysql or postgresql containers have exposed
|
||||
# port 3306 and 5432 respectively.
|
||||
|
|
Loading…
Add table
Reference in a new issue