# /etc/conf.d/v2raya: config file for /etc/init.d/v2raya and /lib/systemd/system/v2raya.service # # If you want to pass any options while running the v2raya daemon, you can do so here by setting the ${V2RAYA_OPT} variable. # e.g.: V2RAYA_OPTS="--address 0.0.0.0:2017 --v2ray-bin /usr/bin/v2raya_core" # V2RAYA_OPTS="--log-disable-timestamp --log-file /var/log/v2raya/v2raya.log" # Note: Quotes is not encouraged inside the variables here. # # Available options: # -a, --address string Listening address (default "0.0.0.0:2017") # --socket string Unix socket path for listening # --baseurl string Base URL path prefix (default "/") # -b, --v2ray-bin string Executable v2ray binary path. Auto-detect if put it empty. # --core-type string Specify core type: v2ray or xray. Required when using custom v2ray-bin path. # -c, --config string v2rayA configuration directory # --v2ray-confdir string Additional v2ray config directory, files in it will be combined with config generated by v2rayA # --v2ray-assetsdir string v2ray-core assets directory for searching and downloading files like geoip.dat. This will override environment V2RAY_LOCATION_ASSET and # XRAY_LOCATION_ASSET. # --core-startup-timeout int Timeout duration in seconds for starting v2ray or xray core. On devices with lower performance, consider increasing this value. (default 15) # --transparent-hook string the executable file to run in the transparent proxy life-cycle. v2rayA will pass in the --transparent-type (tproxy, redirect) and --stage # (pre-start, post-start, pre-stop, post-stop) arguments. # --core-hook string the executable file to run in the v2ray-core life-cycle. v2rayA will pass in the --stage (pre-start, post-start, pre-stop, post-stop) argument. # --tinytun-bin string Executable tinytun binary path for TUN transparent proxy mode. Auto-detect from PATH if empty. # --plugin-manager string the executable file to run in the v2ray-core life-cycle. v2rayA will pass in the --stage (pre-start, post-start, pre-stop, post-stop) argument. # --webdir string v2rayA web files directory. use embedded files if not specify. # --ipv6-support string Optional values: auto, on, off. Make sure your IPv6 network works fine before you turn it on. (default "auto") # --nftables-support string Optional values: auto, on, off. Experimental feature. Make sure you have installed nftables. (default "auto") # --passcheckroot Skip privilege checking. Use it only when you cannot start v2raya but confirm you have root privilege # --reset-password # --log-level string Optional values: trace, debug, info, warn or error (default "info") # --log-file string The path of log file # --log-max-days int Maximum number of days to keep log files (default 3) # --log-disable-color # --log-disable-timestamp Intended for use with systemd/journald to avoid duplicate timestamps in logs. This flag is ignored when using the --log-file flag or the # V2RAYA_LOG_FILE environment variable. # --lite Lite mode for non-root and non-linux users # --win-envfile string [Windows Only] Path to environment variables file to load before service starts # --version # --report string Print report # -h, --help print this help menu