/[smeserver]/rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0-bz11120-mysql.init2systemd.patch
ViewVC logotype

Diff of /rpms/e-smith-mysql/sme10/e-smith-mysql-2.6.0-bz11120-mysql.init2systemd.patch

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

Revision 1.1 by jpp, Tue Dec 8 03:49:44 2020 UTC Revision 1.2 by jpp, Thu Dec 10 04:25:50 2020 UTC
# Line 21  diff -Nur e-smith-mysql-2.6.0.old/root/u Line 21  diff -Nur e-smith-mysql-2.6.0.old/root/u
21  +  +
22  +[Install]  +[Install]
23  +WantedBy=sme-server.target  +WantedBy=sme-server.target
24    diff -Nur e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init/10mysql_upgrade e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/e-smith/sql/init/10mysql_upgrade
25    --- e-smith-mysql-2.6.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init/10mysql_upgrade     2020-12-09 23:20:20.435000000 -0500
26    +++ e-smith-mysql-2.6.0/root/etc/e-smith/templates/etc/e-smith/sql/init/10mysql_upgrade 2020-12-09 23:23:42.874000000 -0500
27    @@ -1,9 +1,8 @@
28     #!/bin/sh
29     /usr/bin/mysql_upgrade
30    
31    -P=$(cat /var/run/mariadb/mariadb.pid)
32     /bin/rm /var/run/mariadb/mariadb.pid
33    -kill -TERM $P
34    +/usr/bin/systemctl restart mariadb.service
35     for i in $(seq 1 20);
36     do
37       if [ -f /var/run/mariadb/mariadb.pid ]


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