For some reason screen will not run if /var/run/screen doesn't have chmod 777

This commit is contained in:
Daniel Nordstrøm Carlsen 2014-11-11 19:50:49 +01:00
parent 87bf46826b
commit 16b422f515

View File

@ -27,6 +27,9 @@ RUN apt-get install -y screen
# Create directories
RUN mkdir -p /var/log/supervisor
# Screen directory needs permission 777 to run
chmod 777 /var/run/screen
# Add configuration and scripts
ADD piaconfig/config.ovpn /etc/openvpn/config.ovpn
ADD piaconfig/credentials.txt /etc/openvpn/credentials.txt