diff options
| author | luqiuwen <[email protected]> | 2019-09-17 10:51:31 +0800 |
|---|---|---|
| committer | luqiuwen <[email protected]> | 2019-09-17 10:51:31 +0800 |
| commit | fb22ab1cb6bbd45dc7b9a7383c7d37db5cf85373 (patch) | |
| tree | 2c163f738af4476ca1cb9feef6dfb53cb36d4610 /script | |
| parent | 1d45bebe4fa7342818046a8d44379b1ab23576fe (diff) | |
#165 增加PostInstall脚本,用于创建临时文件存储的目录。
Diffstat (limited to 'script')
| -rw-r--r-- | script/service/tfe-env-config | 2 | ||||
| -rw-r--r-- | script/service/tfe.service | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/script/service/tfe-env-config b/script/service/tfe-env-config index 69936e0..310b95c 100644 --- a/script/service/tfe-env-config +++ b/script/service/tfe-env-config @@ -1,4 +1,3 @@ - TFE_DEVICE_DATA_INCOMING=tun_kni TFE_LOCAL_MAC_DATA_INCOMING=fe:65:b7:00:00:01 TFE_PEER_MAC_DATA_INCOMING=aa:bb:cc:dd:ee:ff @@ -6,4 +5,3 @@ TFE_LOCAL_IP_DATA_INCOMING=172.16.241.2 TFE_PEER_IP_DATA_INCOMING=172.16.241.1 TFE_WATCHDOG_DEVICE=enp2s0 TFE_WATCHDOG_IP=192.168.100.1 - diff --git a/script/service/tfe.service b/script/service/tfe.service index b5b39a0..1dc8519 100644 --- a/script/service/tfe.service +++ b/script/service/tfe.service @@ -6,6 +6,7 @@ After=tfe-env.service [Service] Type=simple ExecStart=/opt/tsg/tfe/bin/tfe +WorkingDirectory=/opt/tsg/tfe/ TimeoutSec=180s RestartSec=10s Restart=always |
