diff options
| author | sergei <sergei@em-sysadmin.xyz> | 2026-04-14 06:23:55 +0400 |
|---|---|---|
| committer | sergei <sergei@em-sysadmin.xyz> | 2026-04-14 06:23:55 +0400 |
| commit | 3d51aa455006903345f554a2dd90034993796114 (patch) | |
| tree | 62a7be2faf047f5eb7886feebc3b815556f03d7f /scripts/install-ruleset-timer.sh | |
| download | vpnem-main.tar.gz vpnem-main.tar.bz2 vpnem-main.zip | |
- Multi-protocol VPS nodes (VLESS-REALITY + Hysteria2 + SOCKS5)
- Smart load balancing via recommendation API
- Windows/Linux client (Go + Wails + sing-box)
- Server API with RealIP detection and connection tracking
- Auto-deployment via vpnui control plane
- Silent Windows installer with UAC elevation
- Load-based server recommendation (no sticky sessions)
- Best Server one-click connection workflow
Diffstat (limited to 'scripts/install-ruleset-timer.sh')
| -rwxr-xr-x | scripts/install-ruleset-timer.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/scripts/install-ruleset-timer.sh b/scripts/install-ruleset-timer.sh new file mode 100755 index 0000000..dc34008 --- /dev/null +++ b/scripts/install-ruleset-timer.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -euo pipefail + +SERVICE_SRC="${1:-/opt/vpnem/deploy/systemd/vpnem-rulesets-update.service}" +TIMER_SRC="${2:-/opt/vpnem/deploy/systemd/vpnem-rulesets-update.timer}" +SYSTEMD_DIR="${3:-/etc/systemd/system}" + +install -m 0644 "$SERVICE_SRC" "$SYSTEMD_DIR/vpnem-rulesets-update.service" +install -m 0644 "$TIMER_SRC" "$SYSTEMD_DIR/vpnem-rulesets-update.timer" +systemctl daemon-reload +systemctl enable --now vpnem-rulesets-update.timer +systemctl start vpnem-rulesets-update.service +systemctl --no-pager --full status vpnem-rulesets-update.timer |
