blob: 0ac800c592a5efeb68b7de36f6b65344683546a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#! /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 "$@"
elif [[ "$(uname)" == "Darwin" ]]; then
exec less "$HOME/.local/state/Crupest.V2ray/log"
else
echo "Not supported on systems other than macOS and Linux now." >&2
exit 1
fi
|