From 739b47e9c31f430cee2389b36fdaade79adc7294 Mon Sep 17 00:00:00 2001 From: fabrice1236 Date: Tue, 7 Jan 2025 22:06:36 +0100 Subject: [PATCH] Fix syntax error --- install/ghost-install.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/install/ghost-install.sh b/install/ghost-install.sh index 4ff6fc15..a853a686 100644 --- a/install/ghost-install.sh +++ b/install/ghost-install.sh @@ -60,10 +60,9 @@ msg_ok "Installed Ghost CLI" msg_info "Creating ghost-user" $STD adduser --disabled-password --gecos "Ghost user" 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:/bin/chown -R ghost:ghost /var/www/ghost/*/content, /bin/mv /tmp/*/ghost_*.service /lib/systemd/system/ghost_*.service, /bin/systemctl daemon-reload, /bin/systemctl is-active ghost_*, /bin/systemctl start ghost_*, /bin/systemctl is-enabled ghost_*, /bin/systemctl enable ghost_* --quiet" | tee /etc/sudoers.d/ghost-user +echo "ghost-user ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/ghost-user +# # echo "ghost-user ALL=(ALL) NOPASSWD:/bin/chown -R ghost:ghost /var/www/ghost/*/content, /bin/mv /tmp/*/ghost_*.service /lib/systemd/system/ghost_*.service, /bin/systemctl daemon-reload, /bin/systemctl is-active ghost_*, /bin/systemctl start ghost_*, /bin/systemctl is-enabled ghost_*, /bin/systemctl enable ghost_* --quiet" | tee /etc/sudoers.d/ghost-user msg_ok "Created ghost-user" # Set up Ghost