Artix Linux Forum

Artix Linux => Package management => Topic started by: glgl-schemer on 31 July 2021, 05:21:36

Title: [Package Requirement] V2Ray
Post by: glgl-schemer on 31 July 2021, 05:21:36
I recently noticed that mirrors of archlinux are no longer depended by artixlinux. As a person who does not want to install unnecessary  packages, i lose a convenient way to install v2ray, v2ray-geoip and v2ray-domain-list-community.

V2Ray (https://github.com/v2fly/v2ray-core) is an important package to break through nation-scale firewall, such as the GFW in China. It officially provides SystemD script and is included by archlinux. However, it is pretty easy to migrate V2Ray to other init systems. I can provide an OpenRC script for it:
Code: [Select]
#!/usr/bin/openrc-run

depend() {
    need net
}

command="/usr/lib/v2ray/v2ray"
command_args="-config /etc/v2ray/config.json"
command_user="root:root"
command_background="true"
pidfile="/run/v2ray.pid"
output_log="/var/log/v2ray.log"
Title: Re: [Package Requirement] V2Ray
Post by: ndowens on 31 July 2021, 21:03:32
These packages have been imported and scripts will be worked on, but for now once the mirrors sync, the packages will be available.

Edit: init scripts are now ready.