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

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