aboutsummaryrefslogtreecommitdiff
path: root/.local/bin/reloadsingbox
diff options
context:
space:
mode:
authorawy <awy@awy.one>2024-11-28 17:49:11 +0300
committerawy <awy@awy.one>2024-11-28 17:49:11 +0300
commitabeb2dcdf2f2e6ca3ed1836d8cf3d6edf93129f3 (patch)
treeb67df3bfdaeddf4165361899053cb4c74d2681e5 /.local/bin/reloadsingbox
upload
Diffstat (limited to '.local/bin/reloadsingbox')
-rwxr-xr-x.local/bin/reloadsingbox3
1 files changed, 3 insertions, 0 deletions
diff --git a/.local/bin/reloadsingbox b/.local/bin/reloadsingbox
new file mode 100755
index 0000000..731c618
--- /dev/null
+++ b/.local/bin/reloadsingbox
@@ -0,0 +1,3 @@
+#!/bin/sh
+killall sing-box
+setsid -f sing-box -c /mnt/ssd/settings/config.json run