remove ia64 keywords
[gentoo-zh.git] / net-proxy / v2rayA / files / v2rayA.initd-r1
blob5c3c9ba497fb49624e97903bd28442e19bafb605
1 #!/sbin/openrc-run
2 # Copyright 2021 Gentoo Authors
3 # Distributed under the terms of the GNU General Public License v2
5 name="v2rayA"
6 description="web GUI client of Project V which supports V2Ray, Xray, SS, SSR, Trojan and Pingtunnel"
7 command="/usr/bin/v2raya"
8 command_args="${V2RAYA_OPTS}"
9 error_log="/var/log/v2raya/error.log"
10 pidfile="/run/${RC_SVCNAME}.pid"
11 command_background="yes"
12 rc_ulimit="-n 30000"
13 rc_cgroup_cleanup="yes"
15 depend() {
16         need net
17         after net
20 start_pre() {
21         mkdir -p /var/log/v2raya
23         eend $?