I use runit and have installed v2ray and v2ray-runit. After I activate the v2ray service using this command:
sudo ln -s /etc/runint/sv/v2ray /etc/runit/rusvdir/default
I have v2ray on the enabled services directory:
❯ ls /etc/runit/runsvdir/default
agetty-tty1 agetty-tty2 agetty-tty3 agetty-tty4 agetty-tty5 agetty-tty6 alsa cronie dbus logind NetworkManager nftables ntpd sshd tor udevd v2ray
❯ ls /run/runit/service
agetty-tty1 agetty-tty2 agetty-tty3 agetty-tty4 agetty-tty5 agetty-tty6 alsa cronie dbus logind NetworkManager nftables ntpd sshd tor udevd v2ray
But when I check for the service status I get:
❯ sv status v2ray
down: v2ray: 1s, normally up, want up
Result of start command:
❯ sv start v2ray
ok: run: v2ray: (pid 18294) 0s
But the status still shows down and rebooting the system didn't help. So I cannot use the proxy on my browser or etc. If I run v2ray manually from terminal, there's no error and I can use the proxy.