-
Notifications
You must be signed in to change notification settings - Fork 3
restart
moqsien edited this page Dec 28, 2023
·
4 revisions
This command will restart the NeoBox Server.
moqsien in [data/projects/go/src/neobox/example]
>>> restart -h 10:03:32
Example: restart <proxy-index> (if no index is specified, then read from history or use '0' by default.)
Usage:
restart [flags]
Flags:
-s, --forcesingbox To force using sing-box as local client.
-h, --help help for restart
-c, --showconfig To show the config for sing-box/xray-core or not.
-p, --showproxy To show the chosen proxy or not.
-d, --usedomain To use a domain for edgetunnel or not.
For example, when you use command "restart 0", NeoBox Server will be restarted with "vmess://jp.takeshi.wiki:80" as listed(See command ls).
NeoBox uses xray-core as local client by default. If you prefer sing-box, then you need to add the "-s" flag.
The "-d" flag is only for edge-tunnels. It will randomly pick up one of the tested domains for the edge-tunnel you have specified. For the domain things, please see command cf.
Most of the time, you do not need to care about "-c" or "-p". These two flags are mainly for debugging.