Skip to content
This repository has been archived by the owner on Sep 2, 2022. It is now read-only.

Commit

Permalink
mv creation of MOSQOME up from 80-81
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmens committed Feb 8, 2015
1 parent 710730a commit e09e34f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions mosquitto-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ do
fi
done

# Fall back to default /tmp/mosquitto and create this location if it doesn't exist
[ -d $MOSQHOME ] || mkdir $MOSQHOME

# User that owns mosquitto directory that we're targeting
Expand All @@ -79,9 +80,6 @@ fi
# Export environment variable to be used in subsequent (generate-CA.sh)
export MOSQUITTOUSER

# Fall back to default /tmp/mosquitto and create this location if it doesn't exist
[ -d $MOSQHOME ] || mkdir $MOSQHOME

# Concat of path and configuration file
MOSQPATH=$MOSQHOME/$MOSQCONF

Expand Down

0 comments on commit e09e34f

Please sign in to comment.