Skip to content

Commit

Permalink
make apply config quicker
Browse files Browse the repository at this point in the history
  • Loading branch information
hiddify-com committed Feb 14, 2024
1 parent d4b8210 commit 939bd4b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apply_configs.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
cd $(dirname -- "$0")
./install.sh apply_configs $@
DO_NOT_INSTALL=true ./install.sh apply_configs $@
#DO_NOT_INSTALL=true ./install.sh
2 changes: 1 addition & 1 deletion hiddify-panel/src
Submodule src updated from e2f822 to b7d43e
8 changes: 5 additions & 3 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,11 @@ function set_config_from_hpanel() {

function install_run() {
echo "==========================================================="
runsh install.sh $@
if [ "$MODE" != "apply_users" ]; then
systemctl daemon-reload
if [ "$DO_NOT_INSTALL" != "true" ];then
runsh install.sh $@
if [ "$MODE" != "apply_users" ]; then
systemctl daemon-reload
fi
fi
runsh run.sh $@
echo "==========================================================="
Expand Down

0 comments on commit 939bd4b

Please sign in to comment.