#165 调整TFE进程的启动方式,使用notify方式启动;

* 调整notify超时时间为300秒;
* 调整日志的记录方式,当使用notify方式启动时,初始化完毕后不在向标准输出写入日志。
This commit is contained in:
luqiuwen
2019-09-23 16:10:53 +08:00
parent 721820e37a
commit cd0fd187ad
9 changed files with 99 additions and 31 deletions

View File

@@ -4,10 +4,10 @@ Requires=tfe-env.service
After=tfe-env.service
[Service]
Type=simple
Type=notify
ExecStart=/opt/tsg/tfe/bin/tfe
WorkingDirectory=/opt/tsg/tfe/
TimeoutSec=180s
TimeoutSec=300s
RestartSec=10s
Restart=always
LimitNOFILE=524288