diff --git a/release/config/systemd/v2ray.service b/release/config/systemd/v2ray.service index 0e2814c80..0d59151e1 100644 --- a/release/config/systemd/v2ray.service +++ b/release/config/systemd/v2ray.service @@ -15,8 +15,6 @@ ExecStart=/usr/bin/v2ray/v2ray -config /etc/v2ray/config.json Restart=on-failure # Don't restart in the case of configuration error RestartPreventExitStatus=23 -# After unexpected exit, upload latest V2Ray log to official log service for future analysis. -# ExecStopPost=/usr/bin/v2ray/upload.sh [Install] WantedBy=multi-user.target diff --git a/release/config/upload.sh b/release/config/upload.sh deleted file mode 100644 index fac663265..000000000 --- a/release/config/upload.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -journalctl -u v2ray --since today | curl -X PUT -s --upload-file "-" https://transfer.sh/v2ray.log | awk '{print "{\"value1\":\""$1"\"}"}' | curl -s --header "Content-Type: application/json" --request POST --data @- https://www.v2ray.com/logupload/ diff --git a/release/install-release.sh b/release/install-release.sh index bfe70fba4..bc1446bff 100755 --- a/release/install-release.sh +++ b/release/install-release.sh @@ -245,7 +245,6 @@ installV2Ray(){ copyFile v2ctl && makeExecutable v2ctl copyFile geoip.dat copyFile geosite.dat - copyFile upload.sh && makeExecutable upload.sh # Install V2Ray server config to /etc/v2ray if [[ ! -f "/etc/v2ray/config.json" ]]; then