Scroll to navigation

REBOOTMGR.CONF(5) resolved.conf REBOOTMGR.CONF(5)

NAME

rebootmgr.conf - Reboot Manager configuration files

SYNOPSIS

/etc/rebootmgr.conf

DESCRIPTION

These configuration file controls and defines the reboot policy for rebootmgrd(8).

OPTIONS

The following options are available in the rebootmgr section:

window-start=

The format of window-start is the same as described in systemd.time(7).

window-duration=

The format of window-duration is [XXh][YYm].

strategy=

This entry specifies the reboot strategy. For a list of valid strategies and their meaning look at the rebootmgrd(8) manual page.

lock-group=

This option is only used in conjuction with etcd locking. To avoid that all machines running the same services reboots at the same time, they can be grouped into classes and only a specified number of machines in the same group are allowed to reboot at the same time. The standard group name is default.

EXAMPLE

Example 1. Example configuration file

In this example, the machine will reboot between 03:30 and 05:00 o'clock in the morning. If an etcd is running, rebootmgrd will obtain a lock for the group etcd_cluster before the reboot is done.

/etc/rebootmgr.conf:

	[rebootmgr]
	window-start=03:30
	window-duration=1h30m
	strategy=best-effort
	lock-group=etcd_cluster

SEE ALSO

rebootmgrd(8), systemd.time(7)

AUTHOR

Thorsten Kukuk <kukuk@suse.com>

04/29/2020 rebootmgr