OSDN Git Service

v2raya: add options to support hook scripts
[v2raya/v2raya-openwrt.git] / v2raya / files / v2raya.config
index fbda474..d9ff365 100644 (file)
@@ -31,6 +31,19 @@ config v2raya 'config'
        # Additional v2ray config directory, files in it will be combined with config generated by v2rayA
        option v2ray_confdir ''
 
+       # 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.
+       option transparent_hook ''
+
+       # 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.
+       option core_hook ''
+
+       # 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.
+       option plugin_manager ''
+
        # Specify the certification path instead of automatically generating a self-signed certificate.
        # Example: /etc/v2raya/grpc_certificate.crt,/etc/v2raya/grpc_private.key
        option vless_grpc_inbound_cert_key ''