aboutsummaryrefslogtreecommitdiffstats
path: root/testing/consul/consul.pre-install
blob: aef42305577d222b5416e3c422b0df957d5fec4e (plain)
1
2
3
4
5
6
7
#!/bin/sh

# Create consul group and user
addgroup -S consul 2> /dev/null
adduser -h /var/consul -s /sbin/nologin -G consul -S -D consul 2> /dev/null
exit 0