This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
управление_сервисами_в_linux [2023/05/18 15:53] val [Управление юнитами Systemd] |
управление_сервисами_в_linux [2023/06/01 13:55] val [Управление юнитами Systemd] |
||
---|---|---|---|
Line 178: | Line 178: | ||
[Service] | [Service] | ||
- | ExecStart=/usr/bin/ssh -N -R 61000+X:localhost:22 userX@gate.isp.un | + | ExecStart=/usr/bin/ssh -N -R 61000+X:localhost:22 -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes userX@gate.isp.un |
KillMode=process | KillMode=process | ||
- | Restart=on-failure | + | Restart=always |
RestartSec=42s | RestartSec=42s | ||