Skip to content

Fixing problem of first installtion of hiddify and activate the syste… #4880

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions common/hiddify_installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -251,13 +251,17 @@ function post_update_tasks() {
fi
remove_lock $NAME

ln -sf /opt/hiddify-manager/hiddify-panel/hiddify-panel.service /etc/systemd/system/hiddify-panel.service
systemctl enable --now hiddify-panel.service

ln -sf /opt/hiddify-manager/hiddify-panel/hiddify-panel-background-tasks.service /etc/systemd/system/hiddify-panel-background-tasks.service
systemctl enable --now hiddify-panel-background-tasks.service

if [ "$package_mode" != "docker" ];then
if [[ $panel_update == 0 ]]; then
systemctl kill -s SIGTERM hiddify-panel
fi

systemctl start hiddify-panel

cd /opt/hiddify-manager/hiddify-panel
if [ "$CREATE_EASYSETUP_LINK" == "true" ];then
hiddify-panel-cli set-setting --key create_easysetup_link --val True
Expand Down