94 |
diff -Nur e-smith-mysql-2.6.0.old/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf e-smith-mysql-2.6.0/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf |
diff -Nur e-smith-mysql-2.6.0.old/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf e-smith-mysql-2.6.0/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf |
95 |
--- e-smith-mysql-2.6.0.old/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-mysql-2.6.0.old/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf 1969-12-31 19:00:00.000000000 -0500 |
96 |
+++ e-smith-mysql-2.6.0/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf 2020-12-07 21:59:46.298000000 -0500 |
+++ e-smith-mysql-2.6.0/root/usr/lib/systemd/system/mariadb.service.d/50koozali.conf 2020-12-07 21:59:46.298000000 -0500 |
97 |
@@ -0,0 +1,42 @@ |
@@ -0,0 +1,43 @@ |
98 |
+[Unit] |
+[Unit] |
99 |
+Description=MariaDB database server |
+Description=MariaDB database server |
100 |
+After=syslog.target |
+After=syslog.target |
102 |
+ |
+ |
103 |
+[Service] |
+[Service] |
104 |
+Type=simple |
+Type=simple |
105 |
+User=mysql |
+User=root |
106 |
+Group=mysql |
+Group=root |
107 |
+ |
+ |
108 |
+#reset |
+#reset |
109 |
+ExecStartPre= |
+ExecStartPre= |
110 |
+#ours |
+#ours : we need root user as + and ! are not yet supported |
111 |
+ExecStartPre=/sbin/e-smith/expand-template /var/lib/mysql/set.password |
+ExecStartPre=-/sbin/e-smith/service-status mariadb |
112 |
|
+ExecStartPre=-/sbin/e-smith/expand-template /var/lib/mysql/set.password |
113 |
+ExecStartPre=-/sbin/e-smith/expand-template /root/.my.cnf |
+ExecStartPre=-/sbin/e-smith/expand-template /root/.my.cnf |
114 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/my.cnf |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/my.cnf |
115 |
+ExecStartPre=/sbin/e-smith/systemd/mariadb-initialize |
+ExecStartPre=/sbin/e-smith/systemd/mariadb-initialize |
127 |
+#reset |
+#reset |
128 |
+ExecStartPost= |
+ExecStartPost= |
129 |
+#ours |
+#ours |
130 |
+ExecStartPost=/usr/libexec/mariadb-wait-ready /var/run/mariadb/mariadb.pid |
+ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID |
131 |
+ |
+ |
132 |
+# Give a reasonable amount of time for the server to start up/shut down |
+# Give a reasonable amount of time for the server to start up/shut down |
133 |
+TimeoutSec=300 |
+TimeoutSec=300 |