4e6a2227b9
Updated the configuration options for the initscript. (forwarded request 114466 from tokoyami) OBS-URL: https://build.opensuse.org/request/show/114494 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/autossh?expand=0&rev=2
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
## Path: Network/Remote access/Autossh
|
|
## Description: Autossh service settings
|
|
|
|
## Type: integer
|
|
## Default: 600
|
|
#
|
|
# Specifies the time to wait before the first connection test.
|
|
# Thereafter the general poll time is used (see AUTOSSH_POLL).
|
|
AUTOSSH_FIRST_POLL="600"
|
|
|
|
## Type: list(0,1,2,3,4,5,6,7)
|
|
## Default: 6
|
|
#
|
|
# Specifies the log level, corresponding to the levels used by syslog.
|
|
AUTOSSH_LOGLEVEL="6"
|
|
|
|
## Type: integer
|
|
## Default: 600
|
|
#
|
|
# Poll time in seconds. If the poll time is less than twice the network
|
|
# timeouts (default 15 seconds) the network timeouts will be adjusted
|
|
# downward to 1/2 the poll time.
|
|
AUTOSSH_POLL="600"
|
|
|
|
## Type: string
|
|
## Default: 0
|
|
## Format: <port>[:echo_port]
|
|
#
|
|
# The base monitoring port to use, or alternatively, the monitoring
|
|
# port and the echo service port to use. Setting 0 will turn the
|
|
# monitoring off, and autossh will only restart ssh on ssh exit.
|
|
AUTOSSH_PORT="0"
|
|
|
|
## Type: string
|
|
## Default: user@example.com -p 22 -ynNT -R 30000:localhost:22 -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=3
|
|
#
|
|
# Options to be passed to ssh
|
|
AUTOSSH_OPTIONS="user@example.com -p 22 -ynNT -R 30000:localhost:22 -o ExitOnForwardFailure=yes -o ServerAliveInterval=60 -o ServerAliveCountMax=3"
|