Skip to content

Commit

Permalink
v1.2.8 add keepalived.conf, merge branch 'fix'
Browse files Browse the repository at this point in the history
  • Loading branch information
zhyale committed Feb 1, 2022
2 parents a0132fd + b33ab0a commit d629473
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,12 @@ if [ ! -d ${install_dir}/static/welcome ]; then
\cp -R ./static/welcome ${install_dir}/static/welcome -T
fi

# copy keepalived files
if [ ! -f ${install_dir}/check_pid.sh ]; then
\cp ./check_pid.sh ${install_dir}/check_pid.sh
\cp ./keepalived.conf ${install_dir}/keepalived.conf
fi

# Check OS from /etc/os-release, ID="centos" or ID=debian or ID="rhel"
os=`cat /etc/os-release | grep "^ID\=" | awk -F "=" '{print $2}' | sed 's/\"//g'`
full_service_path=/lib/systemd/system/janusec.service
Expand Down

0 comments on commit d629473

Please sign in to comment.