mirror of
https://github.com/SagerNet/sing-box.git
synced 2026-04-11 17:47:20 +10:00
20 lines
279 B
Bash
Executable File
20 lines
279 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e -o pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
|
source "$SCRIPT_DIR/common.sh"
|
|
|
|
setup_environment
|
|
|
|
BUILD_TAGS=$(get_build_tags)
|
|
|
|
build_sing_box "$BUILD_TAGS"
|
|
|
|
stop_service
|
|
install_binary
|
|
start_service
|
|
|
|
echo ""
|
|
echo "Reinstallation complete!"
|