add -f, try delete dir in case do not exist

This commit is contained in:
sinergia 2023-07-25 07:48:41 -05:00
parent 47d91915e7
commit 0edc5a215e
1 changed files with 2 additions and 2 deletions

View File

@ -55,10 +55,10 @@ COPY trytond_worker_logging.conf /etc/trytond_worker_logging.conf
RUN touch /etc/trytond_populate.conf \
&& touch $TRYTONPASSFILE \
&& chown -R trytond:trytond /etc/trytond* \
&& rm -r /var/log/trytond \
&& rm -rf /var/log/trytond \
&& mkdir /var/log/trytond \
&& chown -R trytond:trytond /var/log/trytond \
&& rm -r /mnt/attachment \
&& rm -rf /mnt/attachment \
&& mkdir /mnt/attachment \
&& chown -R trytond:trytond /mnt/attachment