From 1728a04d6017580eb4beed79db145d8bcae6f515 Mon Sep 17 00:00:00 2001 From: benj Date: Wed, 1 Apr 2026 16:09:33 +0800 Subject: move .setup to .mycfg --- scripts/toggle-xray.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 scripts/toggle-xray.sh (limited to 'scripts/toggle-xray.sh') diff --git a/scripts/toggle-xray.sh b/scripts/toggle-xray.sh new file mode 100755 index 0000000..a95ffd3 --- /dev/null +++ b/scripts/toggle-xray.sh @@ -0,0 +1,6 @@ +#!/bin/bash +if systemctl is-active --quiet xray; then + systemctl stop xray +else + systemctl start xray +fi -- cgit v1.2.3