mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-08-28 10:54:59 +00:00
12 lines
300 B
Bash
Executable file
12 lines
300 B
Bash
Executable file
#!/bin/sh
|
|
|
|
USERNAME=featurebase
|
|
GROUPNAME=featurebase
|
|
HOMEDIR=/var/lib/featurebase
|
|
|
|
getent group $GROUPNAME >/dev/null || groupadd -r $GROUPNAME
|
|
getent passwd $USERNAME >/dev/null || \
|
|
useradd -r -g $GROUPNAME -d $HOMEDIR -s /sbin/nologin \
|
|
-c "Featurebase Service Account" $USERNAME
|
|
|
|
exit 0
|