mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-19 03:58:07 +00:00
Fix user in ghost-cli install command (#1408)
This commit is contained in:
parent
1932f5ebcc
commit
3051720f58
@ -65,7 +65,7 @@ echo "ghost-user ALL=(ALL) NOPASSWD:ALL" | tee /etc/sudoers.d/ghost-user
|
|||||||
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
|
||||||
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=$DB_USER --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
|
rm /etc/sudoers.d/ghost-user
|
||||||
msg_ok "Creating Service"
|
msg_ok "Creating Service"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user