Compare commits

..

1 Commits

Author SHA1 Message Date
MickLesk 843a19ad2d openziti-controller: prevent apt hang on postinst TTY prompt 2026-08-10 17:42:20 +02:00
4 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ function update_script() {
fi fi
msg_info "Updating $APP LXC" msg_info "Updating $APP LXC"
$STD apt update $STD apt update
$STD apt -y upgrade $STD apt -y upgrade </dev/null
msg_ok "Updated $APP LXC" msg_ok "Updated $APP LXC"
msg_ok "Updated successfully!" msg_ok "Updated successfully!"
exit exit
+1 -1
View File
@@ -24,7 +24,7 @@ Components: main
Signed-By: /usr/share/keyrings/openziti.gpg Signed-By: /usr/share/keyrings/openziti.gpg
EOF EOF
$STD apt update $STD apt update
$STD apt install -y openziti-controller openziti-console $STD apt install -y openziti-controller openziti-console </dev/null
msg_ok "Installed openziti" msg_ok "Installed openziti"
read -r -p "${TAB3}Would you like to go through the auto configuration now? <y/N>" prompt read -r -p "${TAB3}Would you like to go through the auto configuration now? <y/N>" prompt
-1
View File
@@ -27,7 +27,6 @@ msg_info "Installing Pelican Panel"
cd /opt/pelican-panel cd /opt/pelican-panel
$STD composer install --no-dev --optimize-autoloader --no-interaction $STD composer install --no-dev --optimize-autoloader --no-interaction
$STD php artisan p:environment:setup $STD php artisan p:environment:setup
echo "yes" | $STD php artisan p:environment:database --driver mariadb --host localhost --port 3306 --database "$MARIADB_DB_NAME" --username "$MARIADB_DB_USER" --password "$MARIADB_DB_PASS"
$STD php artisan p:environment:queue-service --no-interaction $STD php artisan p:environment:queue-service --no-interaction
echo "* * * * * php /opt/pelican-panel/artisan schedule:run >> /dev/null 2>&1" | crontab -u www-data - echo "* * * * * php /opt/pelican-panel/artisan schedule:run >> /dev/null 2>&1" | crontab -u www-data -
chown -R www-data:www-data /opt/pelican-panel chown -R www-data:www-data /opt/pelican-panel