[tic-core] fix: network operation of tic_server.py 01/126801/1 v20170428
authorGeunsik Lim <geunsik.lim@samsung.com>
Tue, 25 Apr 2017 05:39:12 +0000 (14:39 +0900)
committerGeunsik Lim <geunsik.lim@samsung.com>
Tue, 25 Apr 2017 05:39:12 +0000 (14:39 +0900)
This patch is to fix the below issue:

2017-04-24 17:20:30 [ERROR][tic_server.py(50)-analysis()] there was
a problem servicing your request. please try again later.

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

index 4002452..b32eaba 100644 (file)
@@ -3,13 +3,14 @@ Description=Tizen Image Creator (TIC) - Core
 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
 ExecStart=/usr/local/bin/tic-core start
 ExecReload=/bin/kill -HUP $MAINPID
-StandardOutput=tty+journal+console
 
 [Install]
 WantedBy=multi-user.target