mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-08-15 11:31:15 +00:00

Init script loads /etc/sysconfig/corosync (or /etc/defaults/corosync) by default, but it didn't existed by default and also no options was defined. Patch adds COROSYNC_INIT_TIMEOUT (how many seconds to wait for ipc initialization) with default value 1 minute (instead of previous 10 seconds, what may be too small value for some productions) and COROSYNC_OPTIONS (by default empty) containing options directly passed to corosync executable. Specfile template is also modified to install example of init file configuration. Signed-off-by: Jan Friesse <jfriesse@redhat.com> Reviewed-by: Christine Caulfield <ccaulfie@redhat.com>
11 lines
358 B
Plaintext
11 lines
358 B
Plaintext
# Corosync init script configuration file
|
|
|
|
# COROSYNC_INIT_TIMEOUT specifies number of seconds to wait for corosync
|
|
# initialization (default is one minute).
|
|
COROSYNC_INIT_TIMEOUT=60
|
|
|
|
# COROSYNC_OPTIONS specifies options passed to corosync command
|
|
# (default is no options).
|
|
# See "man corosync" for detailed descriptions of the options.
|
|
COROSYNC_OPTIONS=""
|