<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/keepalived/files/lib/functions, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2025-02-05T07:14:04Z</updated>
<entry>
<title>keepalived: add support for directory sync</title>
<updated>2025-02-05T07:14:04Z</updated>
<author>
<name>Francesco Benini</name>
</author>
<published>2025-02-01T22:13:22Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=7c58cd667bb37fd6aec9b4fd625bd6962ec1ed0f'/>
<id>urn:sha1:7c58cd667bb37fd6aec9b4fd625bd6962ec1ed0f</id>
<content type='text'>
This commit adds support for folder synchronization.
An example is in the 810-files file where it is explained how to
synchronize all hotplug files of keepalived.

Signed-off-by: Francesco Benini &lt;francy.benini@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: fix ambigiuos functions in hotplug.sh</title>
<updated>2024-10-22T13:46:27Z</updated>
<author>
<name>Francesco Benini</name>
</author>
<published>2024-10-19T23:19:23Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ac72a52fd90a7a0690965d2816d0bae9d7400449'/>
<id>urn:sha1:ac72a52fd90a7a0690965d2816d0bae9d7400449</id>
<content type='text'>
When "set_reload_if_sync" is not set in the hotplug script, the service
is not expected to reload. That is not true because even if not set, the
value is set to the default 1 (reload active) or equals the parameter
set when "keepalived_hotplug" is called.
The default behavior should be:
    - Reload if set_reload_if_sync is called
    - NOT reload if set_reload_if_sync is NOT called
A similar fix is ported to "set_update_target".

Signed-off-by: Francesco Benini &lt;francy.benini@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: add option to override service running check</title>
<updated>2024-10-22T13:46:27Z</updated>
<author>
<name>Francesco Benini</name>
</author>
<published>2024-10-19T22:36:07Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ea092363d93ea74799a610d2ac2e6710ae0dd3e2'/>
<id>urn:sha1:ea092363d93ea74799a610d2ac2e6710ae0dd3e2</id>
<content type='text'>
Some init.d scripts like firewall and sqm do not return the actual state
of the service if called with "running" parameter. This result in the
init script called with "start" parameter and the service may not load
the new configuration. Firewall init script is one of this
An option is added in order to skip the "running" check for the service.

Signed-off-by: Francesco Benini &lt;francy.benini@gmail.com&gt;
</content>
</entry>
<entry>
<title>keepalived: high-availability files and data sync</title>
<updated>2022-10-13T11:27:02Z</updated>
<author>
<name>Jaymin Patel</name>
</author>
<published>2022-09-09T13:40:49Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=33398a38aacc02c89c277f5106c079b9c61b97a2'/>
<id>urn:sha1:33398a38aacc02c89c277f5106c079b9c61b97a2</id>
<content type='text'>
add new package keepalived-sync to synchronize files and data
between master and backup node. The master node uses SSH over rsync
to send and the backup node will use inotifywatch to watch received files.

The master node can track rsync.sh script to send configuration file on
a backup node based on the vrrp_script configuration of the same script.

The backup node will have a keepalived-inotify service, which would watch
for newly received files and it would call hotplug event. Each service
can keep its respective script under the keepalived hotplug directory and
executes commands to stop, start service or update any config in real-time.

Whenever a switchover will happen, the backup node would have the latest
config and data files from the master node.

Hotplug events can be used to apply config when files are received.

Signed-off-by: Jaymin Patel &lt;jem.patel@gmail.com&gt;
</content>
</entry>
</feed>
