[tic-web] fix: network operation in case of downloading repodmd.xml 00/126800/1
authorGeunsik Lim <geunsik.lim@samsung.com>
Tue, 25 Apr 2017 05:41:57 +0000 (14:41 +0900)
committerGeunsik Lim <geunsik.lim@samsung.com>
Tue, 25 Apr 2017 05:41:57 +0000 (14:41 +0900)
This patch is to fix the below issue:

[04/24 18:05:43 KST] [Errno 14] PYCURL ERROR 7 - "Failed to connect
to download.tizen.org port 80: Connection timed out" on
http://download.tizen.org/snapshots/tizen/unified/latest/repos/standard/
packages/repodata/repomd.xml

Change-Id: Ifb98d3588c28fe6d40c24b7a8bf7b5613baca223
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
systemd/tic-web.service

index 7f44ee9..ac9e7e0 100644 (file)
@@ -3,7 +3,9 @@ Description=Tizen Image Creator (TIC) - Web
 After=network.target
 
 [Service]
-EnvironmentFile=/etc/profile
+Environment="HTTP_PROXY=http://10.112.1.184:8080"
+Environment="HTTPS_PROXY=http://10.112.1.184:8080"
+Environment="FTP_PROXY=http://10.112.1.184:8080"
 Type=simple
 User=score
 Group=score