diff options
Diffstat (limited to 'testing/consul/consul.pre-install')
-rw-r--r-- | testing/consul/consul.pre-install | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/consul/consul.pre-install b/testing/consul/consul.pre-install new file mode 100644 index 0000000000..aef4230557 --- /dev/null +++ b/testing/consul/consul.pre-install @@ -0,0 +1,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 + |