Update install/ghost-install.sh

Co-authored-by: Michel Roegl-Brunner <73236783+michelroegl-brunner@users.noreply.github.com>
This commit is contained in:
fabrice1236 2025-01-09 20:16:16 +01:00 committed by GitHub
parent 0418f47d0e
commit f2187e9b47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -79,7 +79,7 @@ chown -R ghost-user:ghost-user /var/www/ghost
chmod 775 /var/www/ghost chmod 775 /var/www/ghost
sudo -u ghost-user -H sh -c "cd /var/www/ghost && ghost install --db=mysql --dbhost=localhost --dbuser=root --dbpass=$DB_PASS --dbname=ghost --url=http://localhost:2368 --no-prompt --no-setup-nginx --no-setup-ssl --no-setup-mysql --enable --start --ip 0.0.0.0" sudo -u ghost-user -H sh -c "cd /var/www/ghost && ghost install --db=mysql --dbhost=localhost --dbuser=root --dbpass=$DB_PASS --dbname=ghost --url=http://localhost:2368 --no-prompt --no-setup-nginx --no-setup-ssl --no-setup-mysql --enable --start --ip 0.0.0.0"
rm /etc/sudoers.d/ghost-user #Remove ghost-user for sudoers after setup (not required anymore) rm /etc/sudoers.d/ghost-user #Remove ghost-user for sudoers after setup (not required anymore)
msg_ok "Ghost setup completed" msg_ok "Creating Service"
motd_ssh motd_ssh