fix: config file path

This commit is contained in:
zhangsz committed 2025-03-07 10:30:51 +08:00
1 parent bf65bd4fc5
commit 0fc3b63189
5 files changed
+11 -7

No files matched your search

+2 -1
View File
@@ -1,7 +1,8 @@
#!/bin/bash
test ! -f /usr/local/restproxy/conf/rest_proxy.conf && cp -rf /usr/local/restproxy/conf/default/* /usr/local/restproxy/conf
test ! -f /usr/local/restproxy/etc/config.yaml && cp -rf /usr/local/restproxy/etc/default/* /usr/local/restproxy/etc
systemctl daemon-reload
systemctl enable restproxy
exit 0