s5启动文件配置

This commit is contained in:
leon_mac
2025-11-14 23:38:58 +08:00
parent d8b738d0b7
commit 86ce9cda87
9 changed files with 223 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
# insert into ss2_migrated.ip_port_allocation ( ip_address, port, is_used, group_purchase_id, last_used_at, created_at, updated_at, max_connections, current_connections, type)
# values ( '103.6.221.91', 5663, 0, 0,now(), now(), now(), 1, 0, 'group_purchase')
if __name__ == '__main__':
line_count = 52
start_port = 5663
start_ip = '103.6.221.91'
print("insert into ss2_migrated.ip_port_allocation ( ip_address, port, is_used, group_purchase_id, last_used_at, created_at, updated_at, max_connections, current_connections, type) values ")
for i in range(0, line_count):
print(f" ( '{start_ip}', {start_port + i}, 0, 0,now(), now(), now(), 1, 0, 'group_purchase'),")