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:49 +01:00 committed by GitHub
parent 0085682ed7
commit 445969bada
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -68,12 +68,6 @@ msg_info "Creating Service"
$STD adduser --disabled-password --gecos "Ghost user" ghost-user $STD adduser --disabled-password --gecos "Ghost user" ghost-user
$STD usermod -aG sudo ghost-user $STD usermod -aG sudo ghost-user
echo "ghost-user ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/ghost-user echo "ghost-user ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/ghost-user
msg_ok "Created ghost-user"
# Set up Ghost
msg_info "Setting up Ghost"
mkdir -p /var/www/ghost mkdir -p /var/www/ghost
chown -R ghost-user:ghost-user /var/www/ghost chown -R ghost-user:ghost-user /var/www/ghost
chmod 775 /var/www/ghost chmod 775 /var/www/ghost