#66303 closed defect (fixed)

v2ray @5.1.0: There is an error in the configuration file of launchd

Reported by: CTmH (Che) Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc: casouri (Yuan Fu)
Port: v2ray

Description

In the current version, the command to run v2ray is "v2ray run". So the original command does not start v2ray correctly. This causes command "port load v2ray" to fail.

Maybe in the Portfile

startupitem.executable      ${prefix}/bin/v2ray --config ${prefix}/etc/v2ray/config.json

should be replaced with

startupitem.executable      ${prefix}/bin/v2ray run --config ${prefix}/etc/v2ray/config.json

Change History (2)

comment:1 Changed 17 months ago by jmroot (Joshua Root)

Cc: casouri@… i0ntempest@… i0ntempest removed
Owner: set to i0ntempest
Status: newassigned

comment:2 Changed 17 months ago by i0ntempest

Resolution: fixed
Status: assignedclosed

In d5b6501db9a19dd8d8593eb14ec4651f3ff58d26/macports-ports (master):

v2ray: correct startup item command line

Closes: #66303

Note: See TracTickets for help on using tickets.