mirror of https://github.com/tteck/Proxmox.git
Compare commits
3 Commits
453d6f566a
...
d8c38c40c8
Author | SHA1 | Date |
---|---|---|
|
d8c38c40c8 | |
|
2a4097d663 | |
|
710f92871a |
|
@ -37,9 +37,6 @@ chmod 750 /var/lib/forgejo
|
|||
mkdir /etc/forgejo
|
||||
chown root:git /etc/forgejo
|
||||
chmod 770 /etc/forgejo
|
||||
echo "" >>~/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
|
||||
msg_ok "Setup Forgejo"
|
||||
|
||||
msg_info "Creating Service"
|
||||
|
@ -60,13 +57,13 @@ Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/forgejo
|
|||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
$STD systemctl enable --now forgejo
|
||||
$STD systemctl enable -q --now forgejo
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
$STD apt-get autoremove
|
||||
$STD apt-get autoclean
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
msg_ok "Cleaned"
|
||||
|
|
Loading…
Reference in New Issue