@ -19,6 +19,9 @@ elif [ "$#" -eq 1 ] && [ "$1" == "-h" ]; then
exit 1
fi
# create consul user
useradd --system --home /etc/consul.d --shell /bin/false consul
# create directory if doesn't exist and set permissions
mkdir -p /etc/consul.d/ && chown -R consul:consul /etc/consul.d/