mirror of
https://github.com/wnlen/clash-for-linux.git
synced 2026-03-21 22:06:45 +08:00
Update clashctl
This commit is contained in:
4
clashctl
4
clashctl
@ -166,7 +166,7 @@ cmd_start() {
|
|||||||
mode="$(detect_mode)"
|
mode="$(detect_mode)"
|
||||||
|
|
||||||
case "$mode" in
|
case "$mode" in
|
||||||
systemd)
|
systemd|systemd-installed)
|
||||||
start_via_systemd
|
start_via_systemd
|
||||||
ok "Clash started via systemd"
|
ok "Clash started via systemd"
|
||||||
;;
|
;;
|
||||||
@ -221,7 +221,7 @@ cmd_restart() {
|
|||||||
mode="$(detect_mode)"
|
mode="$(detect_mode)"
|
||||||
|
|
||||||
case "$mode" in
|
case "$mode" in
|
||||||
systemd)
|
systemd|systemd-installed)
|
||||||
restart_via_systemd
|
restart_via_systemd
|
||||||
ok "Clash restarted via systemd"
|
ok "Clash restarted via systemd"
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user