forked from cohabit/server_config
fix: typo in useradd forgejo
multiline cmd
This commit is contained in:
parent
2a8301ce1a
commit
51848985da
|
@ -16,7 +16,7 @@ if [[ $(forgejo -v 2> /dev/null | grep -o "[0-9].[0-9].[0-9]" | head -1) != $LAT
|
||||||
groupadd --system forgejo
|
groupadd --system forgejo
|
||||||
|
|
||||||
useradd --system \
|
useradd --system \
|
||||||
--gid forgejo
|
--gid forgejo \
|
||||||
--create-home \
|
--create-home \
|
||||||
--home-dir /var/lib/forgejo \
|
--home-dir /var/lib/forgejo \
|
||||||
--shell /usr/sbin/nologin \
|
--shell /usr/sbin/nologin \
|
||||||
|
|
Loading…
Reference in a new issue