Fix the location of var_dir to check for master lock.
This commit is contained in:
committed by
Abhilash Raj
parent
1923d27238
commit
f8126d90ba
@@ -4,7 +4,7 @@ set -e
|
|||||||
# Check if the master lock exists for the mailman.
|
# Check if the master lock exists for the mailman.
|
||||||
# It means that that either some other mailman process is running or
|
# It means that that either some other mailman process is running or
|
||||||
# the last time mailman did not exit clean.
|
# the last time mailman did not exit clean.
|
||||||
if [[ -e /opt/mailman/core/var/locks/master.lck ]]; then
|
if [[ -e /opt/mailman/var/locks/master.lck ]]; then
|
||||||
echo "The mailman's master lock file still exists at /opt/mailman/core/var/locks/master.lck"
|
echo "The mailman's master lock file still exists at /opt/mailman/core/var/locks/master.lck"
|
||||||
echo "Please remove the lock file before trying to run this container again."
|
echo "Please remove the lock file before trying to run this container again."
|
||||||
exit 1
|
exit 1
|
||||||
|
|||||||
Reference in New Issue
Block a user