Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#60545 - [v2ray] Minor systemd service unit improvement
Attached to Project:
Community Packages
Opened by Zhuoyun Wei (wzyboy) - Tuesday, 23 October 2018, 08:14 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 06 November 2018, 10:57 GMT
Opened by Zhuoyun Wei (wzyboy) - Tuesday, 23 October 2018, 08:14 GMT
Last edited by Felix Yan (felixonmars) - Tuesday, 06 November 2018, 10:57 GMT
|
DetailsDescription:
Currently the v2ray.service file uses `ExecStart=/usr/bin/env` to set environment variables. This leads to `env` being shown in journalctl. It may be better to use `Environment=` to set environment variables in systemd service file. Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: |
This task depends upon
Closed by Felix Yan (felixonmars)
Tuesday, 06 November 2018, 10:57 GMT
Reason for closing: Fixed
Additional comments about closing: 4.0.2-1
Tuesday, 06 November 2018, 10:57 GMT
Reason for closing: Fixed
Additional comments about closing: 4.0.2-1
Also, "v2ray@.service" should be updated as well.
Refer to https://www.v2ray.com/en/configuration/env.html
The environment variables should be v2ray.location.asset or V2RAY_LOCATION_ASSET.
But it is set to v2ray_location_asset in 4.0-2.
The path for 'ExecStart=' in v2ray.service is '/usr/bin/v2ray/v2ray'.
It should be '/usr/bin/v2ray'.
But yeah the doc suggested a better name. Thanks for letting me know!
Both addressed in 4.0.2-1.