mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "d8c38c40c8262ebc5efaf1f5c3717bf6c0b27b98" and "453d6f566aba095f1feb0112c6b16a9d2db02bca" have entirely different histories.
d8c38c40c8
...
453d6f566a
|
@ -37,6 +37,9 @@ 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"
|
||||
|
@ -57,13 +60,13 @@ Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/forgejo
|
|||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
EOF
|
||||
$STD systemctl enable -q --now forgejo
|
||||
$STD systemctl enable --now forgejo
|
||||
msg_ok "Created Service"
|
||||
|
||||
motd_ssh
|
||||
customize
|
||||
|
||||
msg_info "Cleaning up"
|
||||
$STD apt-get -y autoremove
|
||||
$STD apt-get -y autoclean
|
||||
$STD apt-get autoremove
|
||||
$STD apt-get autoclean
|
||||
msg_ok "Cleaned"
|
||||
|
|
Loading…
Reference in New Issue