--- rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0-bz11120-mysql.init2systemd.patch 2020/12/10 04:25:50 1.2 +++ rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0-bz11120-mysql.init2systemd.patch 2020/12/13 22:09:38 1.3 @@ -35,3 +35,18 @@ diff -Nur e-smith-mysql-2.6.0.old/root/e for i in $(seq 1 20); do if [ -f /var/run/mariadb/mariadb.pid ] +diff -Nur e-smith-mysql-2.6.0.old/createlinks e-smith-mysql-2.6.0/createlinks +--- e-smith-mysql-2.6.0.old/createlinks 2020-12-13 17:05:15.553000000 -0500 ++++ e-smith-mysql-2.6.0/createlinks 2020-12-13 17:07:11.467000000 -0500 +@@ -67,9 +67,10 @@ + } + + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mariadb"); +- ++safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql.init"); + # Move all database dumps except for mysql.dump to sql/init + event_link("mysql-load-tables", $event, "40"); ++templates2events("/etc/e-smith/sql/init/10mysql_upgrade", $event); + + # systemd-specific action mandatory for this package-update event + event_link("systemd-reload", $event, "89");