Skip to content

Commit 8012f16

Browse files
committed
fix: bug
1 parent ebfffaf commit 8012f16

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

hiddify-panel/run.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ if [ -f "../config.env" ]; then
4242
#su hiddify-panel -c "hiddifypanel import-config -c $(pwd)/../config.env"
4343

4444
if [ "$?" == 0 ]; then
45-
rm -f ../config.env
45+
mv ../config.env ../config.env.old
4646
# echo "temporary disable removing config.env"
4747
fi
4848
fi
49-
hiddify-panel-cli init_db
49+
hiddify-panel-cli init-db
5050

5151
systemctl start hiddify-panel.service
5252
systemctl restart hiddify-panel-background-tasks.service

hiddify-panel/src

Submodule src updated from b460143 to 66335d1

0 commit comments

Comments
 (0)