mirror of
https://github.com/schoebel/mars
synced 2024-12-26 16:42:31 +00:00
main: full trigger when logrotate possible
This commit is contained in:
parent
7c454390e9
commit
794b49b976
@ -3141,6 +3141,8 @@ bool is_switchover_possible(struct mars_rotate *rot, const char *old_log_path, c
|
|||||||
// report success
|
// report success
|
||||||
res = true;
|
res = true;
|
||||||
MARS_DBG("VERSION OK '%s' -> '%s'\n", own_versionlink_path, own_versionlink);
|
MARS_DBG("VERSION OK '%s' -> '%s'\n", own_versionlink_path, own_versionlink);
|
||||||
|
mars_trigger();
|
||||||
|
mars_remote_trigger();
|
||||||
|
|
||||||
done:
|
done:
|
||||||
brick_string_free(old_host);
|
brick_string_free(old_host);
|
||||||
|
Loading…
Reference in New Issue
Block a user