This unit is provided by:
Options
-
[Install]-
WantedBy=multi-user.target
-
-
[Service]-
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -
DynamicUser=yes -
Environment=V2RAY_LOCATION_ASSET=/etc/v2ray -
Environment=V2RAY_LOCATION_ASSET=/usr/share/v2ray -
ExecStart=/usr/bin/v2ray -config /etc/v2ray/config.json -
ExecStart=/usr/bin/v2ray run -config /etc/v2ray/config.json -
NoNewPrivilegesIntroduced in systemd 239=yes -
PrivateDevicesIntroduced in systemd 209=yes -
ProtectClockIntroduced in systemd 245=yes -
ProtectControlGroupsIntroduced in systemd 232=yes -
ProtectHomeIntroduced in systemd 214=yes -
ProtectHostnameIntroduced in systemd 242=yes -
ProtectKernelLogsIntroduced in systemd 244=yes -
ProtectKernelModulesIntroduced in systemd 232=yes -
ProtectKernelTunablesIntroduced in systemd 232=yes -
ProtectSystemIntroduced in systemd 214=full -
Restart=on-failure -
RestartPreventExitStatus=23 -
RestrictRealtimeIntroduced in systemd 231=yes -
Type=simple -
User=nobody
-
-
[Unit]-
After=network-online.target nss-lookup.target -
After=network.target nss-lookup.target -
Description=V2Ray Service -
Documentation=https://www.v2fly.org/ -
Documentation=https://www.v2ray.com/ https://www.v2fly.org/
-
Additionnal notes
Nothing here.