b59f8b8b4c
* 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>
14 lines
151 B
Bash
14 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
|