修改TUN模式环境适配服务
This commit is contained in:
14
script/service/tsgtfe.service
Normal file
14
script/service/tsgtfe.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=tsg tfe module
|
||||
Requires=tsgkni.service
|
||||
After=tsgkni.service
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/tsg/tfe/
|
||||
ExecStart=/home/tsg/tfe/bin/tfe
|
||||
ExecStop=/bin/kill -9 $MAINPID
|
||||
Restart=always
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user