feat: add build restproxy to the input

This commit is contained in:
zhangsz
2025-03-06 20:11:02 +08:00
parent e6b570488c
commit e9c7f4fa2c
16 changed files with 379 additions and 17 deletions

7
pkg/cproxy/DEBIAN/postinst Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/bash
test ! -f /usr/local/restproxy/conf/rest_proxy.conf && cp -rf /usr/local/restproxy/conf/default/* /usr/local/restproxy/conf
systemctl enable restproxy
exit 0