changed delete pid & log cmd
This commit is contained in:
parent
0f0e9c75ff
commit
97f2d5f7ef
@ -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..."
|
||||
|
Loading…
Reference in New Issue
Block a user