From 381420ad50b1867c2e2129607bd900f7c9fffbd2 Mon Sep 17 00:00:00 2001 From: Miguel Muniz Date: Mon, 22 Jul 2024 09:06:20 -0700 Subject: [PATCH] minor fixes --- .history/ct/gitea_20240722083616.sh | 79 +++++++++++++++++++ .history/ct/gitea_20240722090504.sh | 78 ++++++++++++++++++ .history/ct/gitea_20240722090525.sh | 79 +++++++++++++++++++ .../install/gitea-install_20240722083025.sh | 73 +++++++++++++++++ .../install/gitea-install_20240722084914.sh | 72 +++++++++++++++++ .../install/gitea-install_20240722084916.sh | 73 +++++++++++++++++ .../install/gitea-install_20240722084917.sh | 72 +++++++++++++++++ .../install/gitea-install_20240722084939.sh | 73 +++++++++++++++++ .../install/gitea-install_20240722084948.sh | 73 +++++++++++++++++ ct/gitea.sh | 3 +- install/gitea-install.sh | 4 +- 11 files changed, 675 insertions(+), 4 deletions(-) create mode 100644 .history/ct/gitea_20240722083616.sh create mode 100644 .history/ct/gitea_20240722090504.sh create mode 100644 .history/ct/gitea_20240722090525.sh create mode 100644 .history/install/gitea-install_20240722083025.sh create mode 100644 .history/install/gitea-install_20240722084914.sh create mode 100644 .history/install/gitea-install_20240722084916.sh create mode 100644 .history/install/gitea-install_20240722084917.sh create mode 100644 .history/install/gitea-install_20240722084939.sh create mode 100644 .history/install/gitea-install_20240722084948.sh diff --git a/.history/ct/gitea_20240722083616.sh b/.history/ct/gitea_20240722083616.sh new file mode 100644 index 00000000..c3a5bc37 --- /dev/null +++ b/.history/ct/gitea_20240722083616.sh @@ -0,0 +1,79 @@ +#!/usr/bin/env bash +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# Co-author: Rogue-King +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +function header_info { +clear +cat <<"EOF" + _ __ + ______(_)_/ /___ ____ _ + / __ / // __/ _ \/ __ / + / /_/ / // /_/ __/ /_/ / + \__, /_/ \__/\___/\__,_/ +/____/ + + ______ _ __ + / ____/(_)_/ /___ ____ _ + / / __// // __/ _ \/ __ / +/ /_/ // // /_/ __/ /_/ / +\____//_/ \__/\___/\__,_/ + +EOF +} +header_info +echo -e "Loading..." +APP="gitea" +var_disk="5" +var_cpu="1" +var_ram="512" +var_os="debian" +var_version="12" +variables +color +catch_errors + +function default_settings() { + CT_TYPE="1" + PW="" + CT_ID=$NEXTID + HN=$NSAPP + DISK_SIZE="$var_disk" + CORE_COUNT="$var_cpu" + RAM_SIZE="$var_ram" + BRG="vmbr0" + NET="dhcp" + GATE="" + APT_CACHER="" + APT_CACHER_IP="" + DISABLEIP6="no" + MTU="" + SD="" + NS="" + MAC="" + VLAN="" + SSH="no" + VERB="no" + echo_default +} + +function update_script() { +header_info +if [[ ! -f /lib/systemd/system/gitea.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi + + +msg_info "Updating ${APP} LXC" +apt-get update &>/dev/null +apt-get -y upgrade &>/dev/nullexit +} + +start +build_container +description + +msg_ok "Completed Successfully!\n" +echo -e "${APP} should be reachable by going to the following URL. + ${BL}http://${IP}:3000${CL} \n" diff --git a/.history/ct/gitea_20240722090504.sh b/.history/ct/gitea_20240722090504.sh new file mode 100644 index 00000000..008370ba --- /dev/null +++ b/.history/ct/gitea_20240722090504.sh @@ -0,0 +1,78 @@ +#!/usr/bin/env bash +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# Co-author: Rogue-King +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +function header_info { +clear +cat <<"EOF" + _ __ + ______(_)_/ /___ ____ _ + / __ / // __/ _ \/ __ / + / /_/ / // /_/ __/ /_/ / + \__, /_/ \__/\___/\__,_/ +/____/ + + ______ _ __ + / ____/(_)_/ /___ ____ _ + / / __// // __/ _ \/ __ / +/ /_/ // // /_/ __/ /_/ / +\____//_/ \__/\___/\__,_/ + +EOF +} +header_info +echo -e "Loading..." +APP="gitea" +var_disk="5" +var_cpu="1" +var_ram="512" +var_os="debian" +var_version="12" +variables +color +catch_errors + +function default_settings() { + CT_TYPE="1" + PW="" + CT_ID=$NEXTID + HN=$NSAPP + DISK_SIZE="$var_disk" + CORE_COUNT="$var_cpu" + RAM_SIZE="$var_ram" + BRG="vmbr0" + NET="dhcp" + GATE="" + APT_CACHER="" + APT_CACHER_IP="" + DISABLEIP6="no" + MTU="" + SD="" + NS="" + MAC="" + VLAN="" + SSH="no" + VERB="no" + echo_default +} + +function update_script() { +header_info +if [[ ! -f /lib/systemd/system/gitea.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi + +msg_info "Updating ${APP} LXC" +apt-get update &>/dev/null +apt-get -y upgrade &>/dev/nullexit +} + +start +build_container +description + +msg_ok "Completed Successfully!\n" +echo -e "${APP} should be reachable by going to the following URL. + ${BL}http://${IP}:3000${CL} \n" diff --git a/.history/ct/gitea_20240722090525.sh b/.history/ct/gitea_20240722090525.sh new file mode 100644 index 00000000..c6680f80 --- /dev/null +++ b/.history/ct/gitea_20240722090525.sh @@ -0,0 +1,79 @@ +#!/usr/bin/env bash +source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# Co-author: Rogue-King +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +function header_info { +clear +cat <<"EOF" + _ __ + ______(_)_/ /___ ____ _ + / __ / // __/ _ \/ __ / + / /_/ / // /_/ __/ /_/ / + \__, /_/ \__/\___/\__,_/ +/____/ + + ______ _ __ + / ____/(_)_/ /___ ____ _ + / / __// // __/ _ \/ __ / +/ /_/ // // /_/ __/ /_/ / +\____//_/ \__/\___/\__,_/ + +EOF +} +header_info +echo -e "Loading..." +APP="gitea" +var_disk="5" +var_cpu="1" +var_ram="512" +var_os="debian" +var_version="12" +variables +color +catch_errors + +function default_settings() { + CT_TYPE="1" + PW="" + CT_ID=$NEXTID + HN=$NSAPP + DISK_SIZE="$var_disk" + CORE_COUNT="$var_cpu" + RAM_SIZE="$var_ram" + BRG="vmbr0" + NET="dhcp" + GATE="" + APT_CACHER="" + APT_CACHER_IP="" + DISABLEIP6="no" + MTU="" + SD="" + NS="" + MAC="" + VLAN="" + SSH="no" + VERB="no" + echo_default +} + +function update_script() { +header_info +if [[ ! -f /lib/systemd/system/gitea.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi + +msg_info "Updating ${APP} LXC" +apt-get update &>/dev/null +apt-get -y upgrade &>/dev/nullexit +exit +} + +start +build_container +description + +msg_ok "Completed Successfully!\n" +echo -e "${APP} should be reachable by going to the following URL. + ${BL}http://${IP}:3000${CL} \n" diff --git a/.history/install/gitea-install_20240722083025.sh b/.history/install/gitea-install_20240722083025.sh new file mode 100644 index 00000000..0747b563 --- /dev/null +++ b/.history/install/gitea-install_20240722083025.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y git +msg_ok "Installed Dependencies" + +msg_info "Installing Gitea" +wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64 +mv gitea* /usr/local/bin/gitea +chmod +x /usr/local/bin/gitea + +msg_info "Creating Gitea user" +adduser --system --group --disabled-password --home /etc/gitea gitea + +msg_info "Creating directory structure" +mkdir -p /var/lib/gitea/{custom,data,log} +chown -R gitea:gitea /var/lib/gitea/ +chmod -R 750 /var/lib/gitea/ +chown root:gitea /etc/gitea +chmod 770 /etc/gitea + +cat </etc/systemd/system/gitea.service +[Unit] +Description=Gitea (Git with a cup of tea) +After=syslog.target +After=network.target + +[Service] +# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that +# LimitNOFILE=524288:524288 +RestartSec=2s +Type=notify +User=gitea +Group=gitea +#The mount point we added to the container +WorkingDirectory=/var/lib/gitea +#Create directory in /run +RuntimeDirectory=gitea +ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini +Restart=always +Environment=USER=gitea HOME=/var/lib/gitea/data GITEA_WORK_DIR=/var/lib/gitea +WatchdogSec=30s +#Capabilities to bind to low-numbered ports +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE + +[Install] +WantedBy=multi-user.target + +EOF +systemctl enable -q --now gitea +msg_ok "Installed Gitea" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/.history/install/gitea-install_20240722084914.sh b/.history/install/gitea-install_20240722084914.sh new file mode 100644 index 00000000..058ad94c --- /dev/null +++ b/.history/install/gitea-install_20240722084914.sh @@ -0,0 +1,72 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y git +msg_ok "Installed Dependencies" + +msg_info "Installing Gitea" +wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64 +mv gitea* /usr/local/bin/gitea +chmod +x /usr/local/bin/gitea + +msg_info "Creating Gitea user" +adduser --system --group --disabled-password --home /etc/gitea gitea + +msg_info "Creating directory structure" +mkdir -p /var/lib/gitea/{custom,data,log} +chown -R gitea:gitea /var/lib/gitea/ +chmod -R 750 /var/lib/gitea/ +chown root:gitea /etc/gitea +chmod 770 /etc/gitea + +cat </etc/systemd/system/gitea.service +[Unit] +Description=Gitea (Git with a cup of tea) +After=syslog.target +After=network.target + +[Service] +# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that +# LimitNOFILE=524288:524288 +RestartSec=2s +Type=notify +User=gitea +Group=gitea +#The mount point we added to the container +WorkingDirectory=/var/lib/gitea +#Create directory in /run +RuntimeDirectory=gitea +ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini +Restart=always +Environment=USER=gitea HOME=/var/lib/gitea/data GITEA_WORK_DIR=/var/lib/gitea +WatchdogSec=30s +#Capabilities to bind to low-numbered ports +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now gitea +msg_ok "Installed Gitea" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/.history/install/gitea-install_20240722084916.sh b/.history/install/gitea-install_20240722084916.sh new file mode 100644 index 00000000..44b45558 --- /dev/null +++ b/.history/install/gitea-install_20240722084916.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y git +msg_ok "Installed Dependencies" + +msg_info "Installing Gitea" +wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64 +mv gitea* /usr/local/bin/gitea +chmod +x /usr/local/bin/gitea + +msg_info "Creating Gitea user" +adduser --system --group --disabled-password --home /etc/gitea gitea + +msg_info "Creating directory structure" +mkdir -p /var/lib/gitea/{custom,data,log} +chown -R gitea:gitea /var/lib/gitea/ +chmod -R 750 /var/lib/gitea/ +chown root:gitea /etc/gitea +chmod 770 /etc/gitea + +cat </etc/systemd/system/gitea.service +[Unit] +Description=Gitea (Git with a cup of tea) +After=syslog.target +After=network.target + +[Service] +# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that +# LimitNOFILE=524288:524288 +RestartSec=2s +Type=notify +User=gitea +Group=gitea +#The mount point we added to the container +WorkingDirectory=/var/lib/gitea +#Create directory in /run +RuntimeDirectory=gitea +ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini +Restart=always +Environment=USER=gitea HOME=/var/lib/gitea/data GITEA_WORK_DIR=/var/lib/gitea +WatchdogSec=30s +#Capabilities to bind to low-numbered ports +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE + +[Install] +WantedBy=multi-user.target +EOF + +systemctl enable -q --now gitea +msg_ok "Installed Gitea" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/.history/install/gitea-install_20240722084917.sh b/.history/install/gitea-install_20240722084917.sh new file mode 100644 index 00000000..058ad94c --- /dev/null +++ b/.history/install/gitea-install_20240722084917.sh @@ -0,0 +1,72 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y git +msg_ok "Installed Dependencies" + +msg_info "Installing Gitea" +wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64 +mv gitea* /usr/local/bin/gitea +chmod +x /usr/local/bin/gitea + +msg_info "Creating Gitea user" +adduser --system --group --disabled-password --home /etc/gitea gitea + +msg_info "Creating directory structure" +mkdir -p /var/lib/gitea/{custom,data,log} +chown -R gitea:gitea /var/lib/gitea/ +chmod -R 750 /var/lib/gitea/ +chown root:gitea /etc/gitea +chmod 770 /etc/gitea + +cat </etc/systemd/system/gitea.service +[Unit] +Description=Gitea (Git with a cup of tea) +After=syslog.target +After=network.target + +[Service] +# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that +# LimitNOFILE=524288:524288 +RestartSec=2s +Type=notify +User=gitea +Group=gitea +#The mount point we added to the container +WorkingDirectory=/var/lib/gitea +#Create directory in /run +RuntimeDirectory=gitea +ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini +Restart=always +Environment=USER=gitea HOME=/var/lib/gitea/data GITEA_WORK_DIR=/var/lib/gitea +WatchdogSec=30s +#Capabilities to bind to low-numbered ports +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now gitea +msg_ok "Installed Gitea" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/.history/install/gitea-install_20240722084939.sh b/.history/install/gitea-install_20240722084939.sh new file mode 100644 index 00000000..ab181b69 --- /dev/null +++ b/.history/install/gitea-install_20240722084939.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y git +msg_ok "Installed Dependencies" + +msg_info "Installing Gitea" +wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64 +mv gitea* /usr/local/bin/gitea +chmod +x /usr/local/bin/gitea + +msg_info "Creating Gitea user" +adduser --system --group --disabled-password --home /etc/gitea gitea + +msg_info "Creating directory structure" +mkdir -p /var/lib/gitea/{custom,data,log} +chown -R gitea:gitea /var/lib/gitea/ +chmod -R 750 /var/lib/gitea/ +chown root:gitea /etc/gitea +chmod 770 /etc/gitea +msg_ok "Installed Gitea" + +cat </etc/systemd/system/gitea.service +[Unit] +Description=Gitea (Git with a cup of tea) +After=syslog.target +After=network.target + +[Service] +# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that +# LimitNOFILE=524288:524288 +RestartSec=2s +Type=notify +User=gitea +Group=gitea +#The mount point we added to the container +WorkingDirectory=/var/lib/gitea +#Create directory in /run +RuntimeDirectory=gitea +ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini +Restart=always +Environment=USER=gitea HOME=/var/lib/gitea/data GITEA_WORK_DIR=/var/lib/gitea +WatchdogSec=30s +#Capabilities to bind to low-numbered ports +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now gitea +msg_ok "Installed Gitea" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/.history/install/gitea-install_20240722084948.sh b/.history/install/gitea-install_20240722084948.sh new file mode 100644 index 00000000..d66a1681 --- /dev/null +++ b/.history/install/gitea-install_20240722084948.sh @@ -0,0 +1,73 @@ +#!/usr/bin/env bash + +# Copyright (c) 2021-2024 tteck +# Author: tteck (tteckster) +# License: MIT +# https://github.com/tteck/Proxmox/raw/main/LICENSE + +source /dev/stdin <<< "$FUNCTIONS_FILE_PATH" +color +verb_ip6 +catch_errors +setting_up_container +network_check +update_os + +msg_info "Installing Dependencies" +$STD apt-get install -y git +msg_ok "Installed Dependencies" + +msg_info "Installing Gitea" +wget https://dl.gitea.com/gitea/1.20.3/gitea-1.20.3-linux-amd64 +mv gitea* /usr/local/bin/gitea +chmod +x /usr/local/bin/gitea + +msg_info "Creating Gitea user" +adduser --system --group --disabled-password --home /etc/gitea gitea + +msg_info "Creating directory structure" +mkdir -p /var/lib/gitea/{custom,data,log} +chown -R gitea:gitea /var/lib/gitea/ +chmod -R 750 /var/lib/gitea/ +chown root:gitea /etc/gitea +chmod 770 /etc/gitea +msg_ok "Installed Gitea" + +cat </etc/systemd/system/gitea.service +[Unit] +Description=Gitea (Git with a cup of tea) +After=syslog.target +After=network.target + +[Service] +# Uncomment the next line if you have repos with lots of files and get a HTTP 500 error because of that +# LimitNOFILE=524288:524288 +RestartSec=2s +Type=notify +User=gitea +Group=gitea +#The mount point we added to the container +WorkingDirectory=/var/lib/gitea +#Create directory in /run +RuntimeDirectory=gitea +ExecStart=/usr/local/bin/gitea web --config /etc/gitea/app.ini +Restart=always +Environment=USER=gitea HOME=/var/lib/gitea/data GITEA_WORK_DIR=/var/lib/gitea +WatchdogSec=30s +#Capabilities to bind to low-numbered ports +CapabilityBoundingSet=CAP_NET_BIND_SERVICE +AmbientCapabilities=CAP_NET_BIND_SERVICE + +[Install] +WantedBy=multi-user.target +EOF +systemctl enable -q --now gitea +msg_ok "Created Service" + +motd_ssh +customize + +msg_info "Cleaning up" +$STD apt-get -y autoremove +$STD apt-get -y autoclean +msg_ok "Cleaned" diff --git a/ct/gitea.sh b/ct/gitea.sh index 8b4b37e9..c6680f80 100644 --- a/ct/gitea.sh +++ b/ct/gitea.sh @@ -9,7 +9,6 @@ source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build function header_info { clear cat <<"EOF" - _ __ ______(_)_/ /___ ____ _ / __ / // __/ _ \/ __ / @@ -65,10 +64,10 @@ function update_script() { header_info if [[ ! -f /lib/systemd/system/gitea.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi - msg_info "Updating ${APP} LXC" apt-get update &>/dev/null apt-get -y upgrade &>/dev/nullexit +exit } start diff --git a/install/gitea-install.sh b/install/gitea-install.sh index 0747b563..d66a1681 100644 --- a/install/gitea-install.sh +++ b/install/gitea-install.sh @@ -31,6 +31,7 @@ chown -R gitea:gitea /var/lib/gitea/ chmod -R 750 /var/lib/gitea/ chown root:gitea /etc/gitea chmod 770 /etc/gitea +msg_ok "Installed Gitea" cat </etc/systemd/system/gitea.service [Unit] @@ -59,10 +60,9 @@ AmbientCapabilities=CAP_NET_BIND_SERVICE [Install] WantedBy=multi-user.target - EOF systemctl enable -q --now gitea -msg_ok "Installed Gitea" +msg_ok "Created Service" motd_ssh customize