docs: add local OmniSocket hub deployment
This commit is contained in:
14
tg3_omnisocket_transport/tg3-omnisocket-hub.service
Normal file
14
tg3_omnisocket_transport/tg3-omnisocket-hub.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=TG3 local OmniSocket KCP hub
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/home/eai/OmniSocketGo
|
||||
ExecStart=/home/eai/OmniSocketGo/bin/kcpserver -mode hub -listen 0.0.0.0:14049
|
||||
Restart=always
|
||||
RestartSec=1
|
||||
KillSignal=SIGTERM
|
||||
TimeoutStopSec=5
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user