Modify init script to create+chown proper directory

Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
This commit is contained in:
Nathan LeClaire 2017-01-24 15:27:26 -08:00
parent 4278e0d78e
commit 9bd4680e09

View File

@ -44,10 +44,10 @@ start()
then then
mkdir -p /var/etc mkdir -p /var/etc
fi fi
if [ ! -d /var/home/ ] if [ ! -d /var/home/docker ]
then then
mkdir -p /var/home/ mkdir -p /var/home/docker
chown docker:docker /var/home/ chown -R docker:docker /var/home/docker
fi fi
if [ ! -f /var/etc/hostname ] if [ ! -f /var/etc/hostname ]
then then