changed delete pid & log cmd

This commit is contained in:
André Bauer 2017-01-09 19:57:16 +01:00
parent 0f0e9c75ff
commit 97f2d5f7ef

View File

@ -15,8 +15,8 @@ if [ "$1" = 'zammad' ]; then
fi
# delete logs & pids
rm ${ZAMMAD_DIR}/log/*.log
rm ${ZAMMAD_DIR}/tmp/pids/*.pid
find ${ZAMMAD_DIR}/log -iname *.pid -exec rm {} \;
find ${ZAMMAD_DIR}/tmp/pids -iname *.pid -exec rm {} \;
# run zammad
echo "starting zammad..."