/[smeserver]/rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0-bz11021-mariadb2systemd.patch
ViewVC logotype

Diff of /rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0-bz11021-mariadb2systemd.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Tue Dec 8 03:59:36 2020 UTC Revision 1.3 by jpp, Tue Dec 8 04:40:30 2020 UTC
# Line 102  diff -Nur e-smith-mysql-2.6.0.old/root/u Line 102  diff -Nur e-smith-mysql-2.6.0.old/root/u
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
# Line 126  diff -Nur e-smith-mysql-2.6.0.old/root/u Line 126  diff -Nur e-smith-mysql-2.6.0.old/root/u
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


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed