mirror of
https://github.com/hashicorp/vault.git
synced 2026-02-03 20:40:45 -05:00
* adding CRT to main branch * cleanup * um i dont know how that got removed but heres the fix * add vault.service Co-authored-by: Kyle Penfound <kpenfound11@gmail.com>
13 lines
151 B
Bash
13 lines
151 B
Bash
#!/bin/bash
|
|
|
|
set -eu
|
|
|
|
USER="vault"
|
|
|
|
if ! id -u $USER > /dev/null 2>&1; then
|
|
useradd \
|
|
--system \
|
|
--user-group \
|
|
--shell /bin/false \
|
|
$USER
|
|
fi
|