mirror of
https://github.com/2dust/v2rayN.git
synced 2026-04-16 04:25:45 +00:00
Enable lingering for user v2rayn-core
This commit is contained in:
parent
c6873dadf7
commit
f54b45ba5e
1 changed files with 1 additions and 0 deletions
|
|
@ -597,6 +597,7 @@ chmod 544 /opt/v2rayN/bin/hev_socks5_tunnel/hev-socks5-tunnel
|
||||||
setcap 'CAP_NET_ADMIN+ep' /opt/v2rayN/bin/hev_socks5_tunnel/hev-socks5-tunnel
|
setcap 'CAP_NET_ADMIN+ep' /opt/v2rayN/bin/hev_socks5_tunnel/hev-socks5-tunnel
|
||||||
chmod 444 /opt/v2rayN/bin/hev_socks5_tunnel/v2rayn-tun.yaml
|
chmod 444 /opt/v2rayN/bin/hev_socks5_tunnel/v2rayn-tun.yaml
|
||||||
chmod +x /opt/v2rayN/bin/sing_box/sing-box
|
chmod +x /opt/v2rayN/bin/sing_box/sing-box
|
||||||
|
loginctl enable-linger v2rayn-core
|
||||||
exit 0
|
exit 0
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue