No tmp files removal

This commit is contained in:
Gilles Dubois 2020-03-05 15:59:30 +01:00
parent 311c31c470
commit de24ee9964

View File

@ -79,9 +79,6 @@ chown -R $APACHE_RUN_USER: $OCS_VARLIB_DIR
chown -R $APACHE_RUN_USER: $OCS_LOG_DIR chown -R $APACHE_RUN_USER: $OCS_LOG_DIR
chown -R $APACHE_RUN_USER: $OCS_WEBCONSOLE_DIR chown -R $APACHE_RUN_USER: $OCS_WEBCONSOLE_DIR
# Remove temp files
rm -rf /tmp/*
# Apache start # Apache start
if [ ! -d "$APACHE_RUN_DIR" ]; then if [ ! -d "$APACHE_RUN_DIR" ]; then
mkdir "$APACHE_RUN_DIR" mkdir "$APACHE_RUN_DIR"