mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-11-12 07:19:01 -05:00
daemon script
This commit is contained in:
parent
0ea2678e72
commit
54cf3f75b1
13
tools/daemon/daemon.sh
Normal file
13
tools/daemon/daemon.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# A simple script to run V2Ray in background.
|
||||||
|
|
||||||
|
if test -t 1; then
|
||||||
|
exec 1>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
if test -t 2; then
|
||||||
|
exec 2>/dev/null
|
||||||
|
fi
|
||||||
|
|
||||||
|
"$@" &
|
Loading…
Reference in New Issue
Block a user