mirror of
https://github.com/aaPanel/aaPanel.git
synced 2026-09-22 09:24:53 +02:00
Update to v8.16.0
This commit is contained in:
@@ -174,7 +174,7 @@ class panelPgsql:
|
||||
if not conf_data:
|
||||
public.ExecShell("/www/server/pgsql/data/postgresql.conf /www/server/pgsql/data/postgresql.bak")
|
||||
public.ExecShell(
|
||||
"wget -O /www/server/pgsql/data/postgresql.conf https://node.aapanel.com/conf/postgresql.conf;chmod 600 /www/server/pgsql/data/postgresql.conf;chown postgres:postgres /www/server/pgsql/data/postgresql.conf"
|
||||
f"wget -O /www/server/pgsql/data/postgresql.conf {public.OfficialDownloadBase()}/conf/postgresql.conf;chmod 600 /www/server/pgsql/data/postgresql.conf;chown postgres:postgres /www/server/pgsql/data/postgresql.conf"
|
||||
)
|
||||
time.sleep(2)
|
||||
conf_data = public.readFile(cls._CONFIG_PATH)
|
||||
|
||||
@@ -96,7 +96,7 @@ class panelRedisDB():
|
||||
return False
|
||||
public.ExecShell("mv /www/server/redis/redis.conf /www/server/redis/redis.conf.bak")
|
||||
public.ExecShell(
|
||||
"wget -O /www/server/redis/redis.conf https://node.aapanel.com/conf/redis.conf;chmod 600 /www/server/redis/redis.conf;chown redis:redis /www/server/redis/redis.conf"
|
||||
f"wget -O /www/server/redis/redis.conf {public.OfficialDownloadBase()}/conf/redis.conf;chmod 600 /www/server/redis/redis.conf;chown redis:redis /www/server/redis/redis.conf"
|
||||
)
|
||||
time.sleep(1)
|
||||
redis_conf = public.readFile("{}/redis/redis.conf".format(public.get_setup_path()))
|
||||
|
||||
Reference in New Issue
Block a user