aboutsummaryrefslogtreecommitdiff
path: root/tools/Crupest.V2ray/tools/cru-log-proxy
blob: 98f1befcd3f85fac0633f3718aedddce8cb4a46d (plain)
1
2
3
4
5
6
7
8
9
10
#! /usr/bin/env bash

set -e

if [[ -e /proc ]]; then
    # I don't believe your system is Linux but there is no /proc.
    exec journalctl --user -u crupest-v2ray "$@"
else
    echo "Not supported on systems other than Linux now." >&2
fi