# Listening address
option address '0.0.0.0:2017'
- # v2rayA configuration directory
- option config '/etc/v2raya'
-
# Make sure your IPv6 network works fine before you turn it on.
# Optional values: auto, on, off.
option ipv6_support 'auto'
# Optional values: trace, debug, info, warn or error
option log_level 'info'
- # The path of log file
- option log_file '/var/log/v2raya/v2raya.log'
-
# Maximum number of days to keep log files
option log_max_days '3'
procd_set_param command "$PROG"
procd_set_param env XDG_DATA_HOME="/usr/share"
+ append_env "config" "/etc/v2raya"
+ append_env "log_file" "/var/log/v2raya/v2raya.log"
+
append_env_arg "config" "address" "0.0.0.0:2017"
- append_env_arg "config" "config" "/etc/v2raya"
append_env_arg "config" "ipv6_support" "auto"
append_env_arg "config" "nftables_support" "auto"
append_env_arg "config" "log_level" "info"
- append_env_arg "config" "log_file" "/var/log/v2raya/v2raya.log"
append_env_arg "config" "log_max_days" "3"
append_env_arg "config" "v2ray_bin"
append_env_arg "config" "v2ray_confdir"