Skip to content
This repository has been archived by the owner on Aug 22, 2021. It is now read-only.

Commit

Permalink
--restart=always for api
Browse files Browse the repository at this point in the history
  • Loading branch information
phlinhng committed May 10, 2020
1 parent 3f51116 commit 112e7a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/v2sub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ install_api() {
fi
${sudoCmd} ${systemPackage} install curl -y -qq
get_docker
docker run -d -p 127.0.0.1:25500:25500 tindy2013/subconverter:latest
docker run -d --restart=always -p 127.0.0.1:25500:25500 tindy2013/subconverter:latest
write_json /usr/local/etc/v2script/config.json ".sub.api.installed" "true"
write_json /usr/local/etc/v2script/config.json ".sub.api.tlsHeader" "\"${api_domain}\""
set_proxy
Expand Down

0 comments on commit 112e7a4

Please sign in to comment.