lxc-forgejo: Prefix 'adduser' with STD

pull/3088/head
barremian 1 year ago
parent 6b222b9ab8
commit f6ca207f58
No known key found for this signature in database
GPG Key ID: 96E431287CDD3E4A
  1. 2
      install/forgejo-install.sh

@ -30,7 +30,7 @@ ln -sf /opt/forgejo/forgejo-$RELEASE-linux-amd64 /usr/local/bin/forgejo
msg_ok "Installed Forgejo"
msg_info "Setting up Forgejo"
adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git
$STD adduser --system --shell /bin/bash --gecos 'Git Version Control' --group --disabled-password --home /home/git git
mkdir /var/lib/forgejo
chown git:git /var/lib/forgejo && chmod 750 /var/lib/forgejo
mkdir /etc/forgejo

Loading…
Cancel
Save