[arch-commits] Commit in v2ray/trunk (v2ray.service)

Felix Yan felixonmars at archlinux.org
Sun Nov 4 02:11:10 UTC 2018


    Date: Sunday, November 4, 2018 @ 02:11:10
  Author: felixonmars
Revision: 401399

improve systemd service (FS#60545)

Modified:
  v2ray/trunk/v2ray.service

---------------+
 v2ray.service |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Modified: v2ray.service
===================================================================
--- v2ray.service	2018-11-04 02:10:15 UTC (rev 401398)
+++ v2ray.service	2018-11-04 02:11:10 UTC (rev 401399)
@@ -6,7 +6,8 @@
 [Service]
 Type=simple
 PIDFile=/var/run/v2ray-%i.pid
-ExecStart=/usr/bin/env v2ray.location.asset=/etc/v2ray /usr/bin/v2ray -config /etc/v2ray/%i.json
+Environment=v2ray.location.asset=/etc/v2ray
+ExecStart=/usr/bin/v2ray -config /etc/v2ray/%i.json
 Restart=on-failure
 
 [Install]


More information about the arch-commits mailing list