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/expand-template /var/lib/mysql/set.password |
112 |
+ExecStartPre=-/sbin/e-smith/expand-template /root/.my.cnf |
+ExecStartPre=-/sbin/e-smith/expand-template /root/.my.cnf |
113 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/my.cnf |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/my.cnf |
114 |
+ExecStartPre=/sbin/e-smith/systemd/mariadb-initialize |
+ExecStartPre=/sbin/e-smith/systemd/mariadb-initialize |
116 |
+#reset |
+#reset |
117 |
+ExecStart= |
+ExecStart= |
118 |
+#ours |
+#ours |
119 |
+ExecStart=exec /usr/libexec/mysqld \ |
+ExecStart=/usr/libexec/mysqld \ |
120 |
+ --defaults-file=/etc/my.cnf \ |
+ --defaults-file=/etc/my.cnf \ |
121 |
+ --basedir=/usr \ |
+ --basedir=/usr \ |
122 |
+ --datadir=/var/lib/mysql \ |
+ --datadir=/var/lib/mysql \ |
126 |
+#reset |
+#reset |
127 |
+ExecStartPost= |
+ExecStartPost= |
128 |
+#ours |
+#ours |
129 |
+ExecStartPost=/usr/libexec/mariadb-wait-ready /var/run/mariadb/mariadb.pid |
+ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID |
130 |
+ |
+ |
131 |
+# 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 |
132 |
+TimeoutSec=300 |
+TimeoutSec=300 |