feat: add restart/toggle actions

This commit is contained in:
FUFSoB committed 2026-09-23 23:52:13 +05:00
1 parent 5f29f30790
commit 11c44deb61
5 files changed
+112 -22

No files matched your search

+2 -1
View File
@@ -128,6 +128,7 @@ See the [options reference](./docs/options/index.md), one page per option group.
```text
Usage: proxy-ctl <group> [verb] [args]
A group without a verb shows its status or list.
Every group with on|off also takes toggle (on if stopped, off if running) and restart.
Secrets and changes need root, or the userControl group.
status [--json] services and routing mode (--tray: deprecated key=value lines)
@@ -182,7 +183,7 @@ Secrets and changes need root, or the userControl group.
zapret cutoff probe probe this line again now
awg [list] AmneziaWG profiles and their state
awg on <profile> | off [profile] | restart [profile]
awg on <profile> | off [profile] | toggle [profile] | restart [profile]
killswitch [status|on|off] reject traffic outside the global tunnel; up with
TUN, TProxy or AWG, lifted only by off here or on them