mirror of
https://github.com/YunoHost-Apps/pufferpanel_ynh.git
synced 2024-09-03 20:16:03 +02:00
Update install
This commit is contained in:
parent
0a0bfa722f
commit
9056f42b58
1 changed files with 2 additions and 0 deletions
|
@ -146,6 +146,8 @@ VALUES('LocalNode', (SELECT id FROM locations WHERE short = 'Localhost'), '$doma
|
|||
#INSERT INTO nodes (name, location, fqdn, ip, daemon_secret,daemon_listen,daemon_sftp, allocate_memory, allocate_disk, ips, ports, public, docker)
|
||||
#VALUES('LocalNode', (SELECT id FROM locations WHERE short = 'Localhost'), '${siteUrl}', '127.0.0.1', '${nodeSecret}', 5656, 5657, 0, 0, '{}', '{}', 1, 0)"
|
||||
|
||||
ynh_mysql_execute_as_root "INSERT INTO acp_settings (setting_ref, setting_val) VALUES ('master_url', 'https://$domain$path_url/') ON DUPLICATE KEY UPDATE setting_val = VALUES(setting_val)" $db_name
|
||||
|
||||
#mysql -h ${mysqlHost} -P ${mysqlPort} -D ${mysqlDb} -u ${mysqlUser} --password="${mysqlPass}" -e "
|
||||
# SELECT setting_val FROM acp_settings WHERE setting_ref='master_url'"
|
||||
ynh_mysql_execute_as_root "SELECT setting_val FROM acp_settings WHERE setting_ref='master_url'" $db_name
|
||||
|
|
Loading…
Add table
Reference in a new issue