From 1ef3ac5506444aa922639a26ef82e7a83dab257a Mon Sep 17 00:00:00 2001 From: samuhin <47834890+samuhin@users.noreply.github.com> Date: Wed, 28 Apr 2021 02:19:50 +0300 Subject: [PATCH] Update Dockerfile --- install/automated/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/automated/Dockerfile b/install/automated/Dockerfile index a50bfc95..47b823d5 100644 --- a/install/automated/Dockerfile +++ b/install/automated/Dockerfile @@ -56,8 +56,8 @@ ln -s /opt/chandler/extensions/available/openvk/ /opt/chandler/extensions/enable #Create database RUN cp /opt/chandler/extensions/available/openvk/install/automated/common/create_db.service /etc/systemd/system/ && \ chmod 644 /etc/systemd/system/create_db.service && \ -chmod 777 /opt/chandler/extensions/available/openvk/install/automated/common/autoexec -#systemctl enable create_db +chmod 777 /opt/chandler/extensions/available/openvk/install/automated/common/autoexec && \ +systemctl enable create_db #Make the user apache owner of the chandler folder: RUN cd /opt && \ @@ -73,7 +73,7 @@ RUN mkdir /var/log/openvk && \ chown apache: /var/log/openvk/ #And start Apache: -#RUN systemctl enable httpd +RUN systemctl enable httpd #Start systemd CMD ["/sbin/init"]