mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
lxc-forgejo: Replace commands split by && with individual commands
This commit is contained in:
parent
5aa04f46e0
commit
d528ceb75a
1 changed files with 4 additions and 2 deletions
|
@ -32,9 +32,11 @@ msg_ok "Installed Forgejo"
|
||||||
msg_info "Setting up Forgejo"
|
msg_info "Setting up Forgejo"
|
||||||
$STD 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
|
mkdir /var/lib/forgejo
|
||||||
chown git:git /var/lib/forgejo && chmod 750 /var/lib/forgejo
|
chown git:git /var/lib/forgejo
|
||||||
|
chmod 750 /var/lib/forgejo
|
||||||
mkdir /etc/forgejo
|
mkdir /etc/forgejo
|
||||||
chown root:git /etc/forgejo && chmod 770 /etc/forgejo
|
chown root:git /etc/forgejo
|
||||||
|
chmod 770 /etc/forgejo
|
||||||
echo "" >>~/forgejo.creds
|
echo "" >>~/forgejo.creds
|
||||||
echo -e "Forgejo GIT User: \e[32mgit\e[0m" >>~/forgejo.creds
|
echo -e "Forgejo GIT User: \e[32mgit\e[0m" >>~/forgejo.creds
|
||||||
echo -e "Forgejo data directory: \e[32m/var/lib/forgejo\e[0m" >>~/forgejo.creds
|
echo -e "Forgejo data directory: \e[32m/var/lib/forgejo\e[0m" >>~/forgejo.creds
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue