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
-
Environment=V2RAY_LOCATION_ASSET=/usr/share/v2ray
-
ExecStart=/usr/bin/v2ray -config /etc/v2ray/%i.json
-
ExecStart=/usr/bin/v2ray run -config /etc/v2ray/%i.json
-
NoNewPrivileges
Introduced in systemd 239=yes -
PrivateDevices
Introduced in systemd 209=yes -
ProtectClock
Introduced in systemd 245=yes -
ProtectControlGroups
Introduced in systemd 232=yes -
ProtectHome
Introduced in systemd 214=yes -
ProtectHostname
Introduced in systemd 242=yes -
ProtectKernelLogs
Introduced in systemd 244=yes -
ProtectKernelModules
Introduced in systemd 232=yes -
ProtectKernelTunables
Introduced in systemd 232=yes -
ProtectSystem
Introduced in systemd 214=full -
Restart=on-failure
-
RestartPreventExitStatus=23
-
RestrictRealtime
Introduced in systemd 231=yes -
User=nobody
-
-
[Unit]
-
After=network.target nss-lookup.target
-
Description=V2Ray Service
-
Documentation=https://www.v2fly.org/
-
Additionnal notes
Nothing here.