1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-16 09:26:21 -05:00
v2fly/release/config/upload.sh
2018-07-17 13:30:51 +02:00

4 lines
260 B
Bash

#!/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/