the-custodian/infra/fleet-mesh/systemd/fleet-state-hub-coulombcore.service

21 lines
515 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Fleet mesh State Hub forward tunnel (railiance01 to coulombcore cluster)
After=network-online.target
Wants=network-online.target
StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=/usr/bin/ssh -N \
-L 127.0.0.1:18000:10.43.170.94:8000 \
-i /home/tegwick/.ssh/id_ops \
-o ServerAliveInterval=10 \
-o ServerAliveCountMax=3 \
-o ExitOnForwardFailure=yes \
-o StrictHostKeyChecking=accept-new \
tegwick@92.205.130.254
Restart=always
RestartSec=5
[Install]
WantedBy=default.target