diff --git a/systemd/system/v2ray.service b/systemd/system/v2ray.service deleted file mode 100644 index e9d6310..0000000 --- a/systemd/system/v2ray.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=V2Ray Service -After=network.target nss-lookup.target - -[Service] -User=nobody -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -NoNewPrivileges=true -Environment=V2RAY_LOCATION_ASSET=/usr/local/share/v2ray/ -ExecStart=/usr/local/bin/v2ray -confdir /usr/local/etc/v2ray/ -Restart=on-failure - -[Install] -WantedBy=multi-user.target diff --git a/systemd/system/v2ray@.service b/systemd/system/v2ray@.service deleted file mode 100644 index 8455d9d..0000000 --- a/systemd/system/v2ray@.service +++ /dev/null @@ -1,15 +0,0 @@ -[Unit] -Description=V2Ray Service -After=network.target nss-lookup.target - -[Service] -User=nobody -CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE -NoNewPrivileges=true -Environment=V2RAY_LOCATION_ASSET=/usr/local/share/v2ray/ -ExecStart=/usr/local/bin/v2ray -config /usr/local/etc/v2ray/%i.json -Restart=on-failure - -[Install] -WantedBy=multi-user.target