/[smecontribs]/rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-bz11877-systemd.patch
ViewVC logotype

Diff of /rpms/smeserver-mysql57/contribs10/smeserver-mysql57-2.0.0-bz11877-systemd.patch

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

Revision 1.2 by jpp, Wed Feb 23 21:36:46 2022 UTC Revision 1.4 by jpp, Thu Feb 24 03:11:58 2022 UTC
# Line 1  Line 1 
1  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/createlinks smeserver-mysql57-2.0.0/createlinks  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/createlinks smeserver-mysql57-2.0.0/createlinks
2  --- smeserver-mysql57-2.0.0.old/createlinks     2022-02-23 14:04:50.137000000 -0500  --- smeserver-mysql57-2.0.0.old/createlinks     2022-02-23 14:04:50.137000000 -0500
3  +++ smeserver-mysql57-2.0.0/createlinks 2022-02-23 15:15:13.931000000 -0500  +++ smeserver-mysql57-2.0.0/createlinks 2022-02-23 21:24:41.808000000 -0500
4  @@ -31,13 +31,16 @@  @@ -31,13 +31,16 @@
5   $event = "bootstrap-console-save";   $event = "bootstrap-console-save";
6    
# Line 10  diff -Nur --no-dereference smeserver-mys Line 10  diff -Nur --no-dereference smeserver-mys
10  -       /var/service/mysql57-mysqld/set.password  -       /var/service/mysql57-mysqld/set.password
11  +       /etc/opt/rh/rh-mysql57/my.cnf  +       /etc/opt/rh/rh-mysql57/my.cnf
12  +       /etc/opt/rh/rh-mysql57/sysconfig/mysqld  +       /etc/opt/rh/rh-mysql57/sysconfig/mysqld
13  +       /var/opt/rh/rh-mysql57/lib/mysql/set.password  +       /var/opt/rh/rh-mysql57/lib/misc/set.password
14  +       /etc/e-smith/sql/init57/10fix_privilege_tables  +       /etc/e-smith/sql/init57/10fix_privilege_tables
15          ))          ))
16  -#      /root/.my.cnf  -#      /root/.my.cnf
# Line 23  diff -Nur --no-dereference smeserver-mys Line 23  diff -Nur --no-dereference smeserver-mys
23   }   }
24    
25   # Move all database dumps except for mysql.dump to sql/init   # Move all database dumps except for mysql.dump to sql/init
26  @@ -50,12 +53,9 @@  @@ -50,12 +53,15 @@
27    
28   safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql57-mysqld");   safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql57-mysqld");
29    
# Line 31  diff -Nur --no-dereference smeserver-mys Line 31  diff -Nur --no-dereference smeserver-mys
31  -       "bootstrap-console-save");  -       "bootstrap-console-save");
32  -  -
33  -safe_symlink("/opt/rh/rh-mysql57/root/var/run/mysqld", "root/var/run/mysql57-mysqld");  -safe_symlink("/opt/rh/rh-mysql57/root/var/run/mysqld", "root/var/run/mysql57-mysqld");
34  -  +$event = "smeserver-mysql57-update";
35  +#safe_symlink("/opt/rh/rh-mysql57/root/var/run/mysqld", "root/var/run/mysql57-mysqld");  +event_link("mysql57-load-tables", $event, "40");
36  +#/var/run/rh-mysql57-mysqld/  +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql57-mysqld");
37    +# might be launched before..
38    +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/mysql57-mysql.init");
39    +event_link("systemd-reload", $event, "89");
40    +event_link("systemd-default", $event, "88");
41    
42    
43   # link configuration   # link configuration
44   safe_symlink("/etc/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/etc");   safe_symlink("/etc/opt/rh/rh-mysql57", "root/opt/rh/rh-mysql57/root/etc");
# Line 60  diff -Nur --no-dereference smeserver-mys Line 65  diff -Nur --no-dereference smeserver-mys
65   then   then
66       for db in $(ls /home/e-smith/db/mysql57/*.dump 2> /dev/null | grep -v '/mysql.dump')       for db in $(ls /home/e-smith/db/mysql57/*.dump 2> /dev/null | grep -v '/mysql.dump')
67       do       do
68    diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/00_restore_dumped_dbs smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/e-smith/sql/init57/00_restore_dumped_dbs
69    --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/00_restore_dumped_dbs 2022-02-23 14:04:50.158000000 -0500
70    +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/e-smith/sql/init57/00_restore_dumped_dbs     2022-02-23 22:08:51.937000000 -0500
71    @@ -4,7 +4,7 @@
72       cat /service/mysql57-mysqld/set.password ) | /opt/rh/rh-mysql57/root/usr/bin/mysql --socket=/var/lib/mysql/mysql57.sock || exit 1
73     P=$(cat /var/run/rh-mysql57-mysqld/mysqld.pid)
74     /bin/rm /var/run/rh-mysql57-mysqld/mysqld.pid
75    -kill -TERM $P
76    +/usr/bin/systemctl restart mysql57-mysqld.service
77     for i in $(seq 1 20);
78     do
79       if [ -f /var/run/rh-mysql57-mysqld/mysqld.pid ]
80    diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/10fix_privilege_tables smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/e-smith/sql/init57/10fix_privilege_tables
81    --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/e-smith/sql/init57/10fix_privilege_tables        2022-02-23 14:04:50.158000000 -0500
82    +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/e-smith/sql/init57/10fix_privilege_tables    2022-02-23 22:09:07.105000000 -0500
83    @@ -3,7 +3,7 @@
84     #/opt/rh/rh-mysql57/root/usr/bin/mysql  --socket=/var/lib/mysql/mysql57.sock -f mysql < /opt/rh/rh-mysql57/root/usr/share/rh-mysql57-mysql/mysql_system_tables.sql
85     P=$(cat /var/run/rh-mysql57-mysqld/mysqld.pid)
86     /bin/rm /var/run/rh-mysql57-mysqld/mysqld.pid
87    -kill -TERM $P
88    +/usr/bin/systemctl restart mysql57-mysqld.service
89     for i in $(seq 1 20);
90     do
91       if [ -f /var/run/rh-mysql57-mysqld/mysqld.pid ]
92  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme
93  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme       1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme       1969-12-31 19:00:00.000000000 -0500
94  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme   2022-02-23 14:04:50.102000000 -0500  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/etc/opt/rh/rh-mysql57/my.cnf/000readme   2022-02-23 14:04:50.102000000 -0500
# Line 280  diff -Nur --no-dereference smeserver-mys Line 309  diff -Nur --no-dereference smeserver-mys
309  @@ -1,2 +0,0 @@  @@ -1,2 +0,0 @@
310  -socket=/var/lib/mysql/mysql57.sock  -socket=/var/lib/mysql/mysql57.sock
311  -MYSQLD_OPTIONS=--skip-networking  -MYSQLD_OPTIONS=--skip-networking
312  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/mysql/set.password smeserver-mysql57-2.0.0/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/mysql/set.password  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/var/opt/rh/rh-mysql57/lib/misc/set.password smeserver-mysql57-2.0.0/root/etc/e-smith/templates/var/opt/rh/rh-mysql57/lib/misc/set.password
313  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/mysql/set.password        1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/var/opt/rh/rh-mysql57/lib/misc/set.password  1969-12-31 19:00:00.000000000 -0500
314  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/mysql/set.password    2017-02-19 09:44:53.000000000 -0500  +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/var/opt/rh/rh-mysql57/lib/misc/set.password      2022-02-23 14:04:50.144000000 -0500
315    @@ -0,0 +1,11 @@
316    +{
317    +    use esmith::util;
318    +
319    +    my $pw = esmith::util::LdapPassword();
320    +
321    +    $OUT .= "use mysql;\n";
322    +    $OUT .= "ALTER TABLE user MODIFY authentication_string TEXT NULL default NULL;\n";
323    +    $OUT .= "UPDATE user SET authentication_string=password('$pw'), password_expired='n' WHERE user='root';\n";
324    +    $OUT .= "DELETE FROM user WHERE user='';\n";
325    +    $OUT .= "FLUSH PRIVILEGES;\n";
326    +}
327    diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/var/service/mysql57-mysqld/set.password smeserver-mysql57-2.0.0/root/etc/e-smith/templates/var/service/mysql57-mysqld/set.password
328    --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates/var/service/mysql57-mysqld/set.password      2022-02-23 14:04:50.144000000 -0500
329    +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates/var/service/mysql57-mysqld/set.password  1969-12-31 19:00:00.000000000 -0500
330    @@ -1,11 +0,0 @@
331    -{
332    -    use esmith::util;
333    -
334    -    my $pw = esmith::util::LdapPassword();
335    -
336    -    $OUT .= "use mysql;\n";
337    -    $OUT .= "ALTER TABLE user MODIFY authentication_string TEXT NULL default NULL;\n";
338    -    $OUT .= "UPDATE user SET authentication_string=password('$pw'), password_expired='n' WHERE user='root';\n";
339    -    $OUT .= "DELETE FROM user WHERE user='';\n";
340    -    $OUT .= "FLUSH PRIVILEGES;\n";
341    -}
342    diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/misc/set.password smeserver-mysql57-2.0.0/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/misc/set.password
343    --- smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/misc/set.password 1969-12-31 19:00:00.000000000 -0500
344    +++ smeserver-mysql57-2.0.0/root/etc/e-smith/templates.metadata/var/opt/rh/rh-mysql57/lib/misc/set.password     2017-02-19 09:44:53.000000000 -0500
345  @@ -0,0 +1 @@  @@ -0,0 +1 @@
346  +PERMS=0400  +PERMS=0400
347  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates.metadata/var/service/mysql57-mysqld/set.password smeserver-mysql57-2.0.0/root/etc/e-smith/templates.metadata/var/service/mysql57-mysqld/set.password  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/etc/e-smith/templates.metadata/var/service/mysql57-mysqld/set.password smeserver-mysql57-2.0.0/root/etc/e-smith/templates.metadata/var/service/mysql57-mysqld/set.password
# Line 361  diff -Nur --no-dereference smeserver-mys Line 420  diff -Nur --no-dereference smeserver-mys
420  -exit 1  -exit 1
421  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize
422  --- smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize    1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/sbin/e-smith/systemd/mysql57-initialize    1969-12-31 19:00:00.000000000 -0500
423  +++ smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize        2022-02-23 16:31:21.174000000 -0500  +++ smeserver-mysql57-2.0.0/root/sbin/e-smith/systemd/mysql57-initialize        2022-02-23 21:49:14.190000000 -0500
424  @@ -0,0 +1,32 @@  @@ -0,0 +1,48 @@
425  +#!/bin/bash  +#!/bin/bash
426  +datadir="/var/opt/rh/rh-mysql57/lib/mysql"  +datadir="/var/opt/rh/rh-mysql57/lib/mysql"
427  +  +
428    +# We have to re-enable SCL environment, because /sbin/service
429    +# clears almost all environment variables.
430    +# Since X_SCLS is cleared as well, we lose information about other
431    +# collections enabled.
432    +. /opt/rh/rh-mysql57/service-environment
433    +for sclname in $RH_MYSQL57_SCLS_ENABLED ; do
434    +    . /opt/rh/$sclname/enable
435    +    export X_SCLS="$X_SCLS $sclname"
436    +done
437    +
438    +# we want start daemon only inside "scl enable" invocation
439    +if ! scl_enabled $sclname ; then
440    +    echo "Collection $sclname has to be listed in /opt/rh/rh-mysql57/service-environment"
441    +    exit 1
442    +fi
443    +
444  +if [ ! -f $datadir/mysql/user.frm ]  +if [ ! -f $datadir/mysql/user.frm ]
445  +then  +then
446  +    touch /var/log/mysql57-mysqld.log  +    touch /var/log/mysql57-mysqld.log
# Line 384  diff -Nur --no-dereference smeserver-mys Line 459  diff -Nur --no-dereference smeserver-mys
459  +        exit $ret  +        exit $ret
460  +    fi  +    fi
461  +    # set root password  +    # set root password
462  +    /opt/rh/rh-mysql57/root/usr/libexec/mysqld --bootstrap --datadir="$datadir" --user="mysql" < $datadir/set.password  +    /opt/rh/rh-mysql57/root/usr/libexec/mysqld --bootstrap --datadir="$datadir" --user="mysql" < $datadir/../misc/set.password
463  +    # upgrade does not need to be run on a fresh datadir  +    # upgrade does not need to be run on a fresh datadir
464  +    echo "5.7.24" >"$datadir/mysql_upgrade_info"  +    echo "5.7.24" >"$datadir/mysql_upgrade_info"
465  +    # In case we're running as root, make sure files are owned properly  +    # In case we're running as root, make sure files are owned properly
# Line 464  diff -Nur --no-dereference smeserver-mys Line 539  diff -Nur --no-dereference smeserver-mys
539  +done  +done
540  +  +
541  +exit 1  +exit 1
542  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysql.init.service smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysql.init.service  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysqld.service smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysqld.service
543  --- smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysql.init.service  1969-12-31 19:00:00.000000000 -0500  --- smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysqld.service      1969-12-31 19:00:00.000000000 -0500
544  +++ smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysql.init.service      2022-02-23 15:38:51.471000000 -0500  +++ smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysqld.service  2022-02-23 21:48:20.005000000 -0500
545  @@ -0,0 +1,20 @@  @@ -0,0 +1,53 @@
 +[Unit]  
 +SourcePath=/sbin/e-smith/systemd/mysql57-mysql.init  
 +Description=Koozali SME Server mysql DB injector for mysql57  
 +After=mysql57-mysql.service  
 +Requires=mysql57-mysql.service  
 +  
 +[Service]  
 +Type=oneshot  
 +Restart=no  
 +TimeoutSec=10min  
 +IgnoreSIGPIPE=no  
 +KillMode=process  
 +GuessMainPID=no  
 +RemainAfterExit=yes  
 +ExecStart=/sbin/e-smith/systemd/mysql57-mysql.init start  
 +ExecStop=/sbin/e-smith/systemd/mysql57-mysql.init stop  
 +  
 +[Install]  
 +WantedBy=sme-server.target  
 +  
 diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysql.service smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysql.service  
 --- smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysql.service       1969-12-31 19:00:00.000000000 -0500  
 +++ smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysql.service   2022-02-23 15:24:21.955000000 -0500  
 @@ -0,0 +1,50 @@  
546  +[Unit]  +[Unit]
547  +Description=MySQL 5.7 database server  +Description=MySQL 5.7 database server
548  +After=syslog.target  +After=syslog.target
# Line 501  diff -Nur --no-dereference smeserver-mys Line 552  diff -Nur --no-dereference smeserver-mys
552  +Type=simple  +Type=simple
553  +User=root  +User=root
554  +Group=root  +Group=root
555    +PIDFile=/var/run/rh-mysql57-mysqld/mysqld.pid
556    +
557    +# Load collections set to enabled for this service
558    +EnvironmentFile=/opt/rh/rh-mysql57/service-environment
559  +  +
560  +#ours : we need root user as + and ! are not yet supported  +#ours : we need root user as + and ! are not yet supported
561  +ExecStartPre=-/sbin/e-smith/service-status mariadb  +ExecStartPre=-/sbin/e-smith/service-status mysql57-mysqld
562  +ExecStartPre=-/sbin/e-smith/expand-template /var/opt/rh/rh-mysql57/lib/mysql/set.password  +ExecStartPre=-/sbin/e-smith/expand-template /var/opt/rh/rh-mysql57/lib/misc/set.password
563  +ExecStartPre=-/sbin/e-smith/expand-template /root/.my.cnf  +ExecStartPre=-/sbin/e-smith/expand-template /root/.my.cnf
564  +ExecStartPre=-/sbin/e-smith/expand-template /etc/opt/rh/rh-mysql57/my.cnf  +ExecStartPre=-/sbin/e-smith/expand-template /etc/opt/rh/rh-mysql57/my.cnf
565  +ExecStartPre=/sbin/e-smith/systemd/mysql57-initialize  +ExecStartPre=/sbin/e-smith/systemd/mysql57-initialize
# Line 516  diff -Nur --no-dereference smeserver-mys Line 571  diff -Nur --no-dereference smeserver-mys
571  +  +
572  +# Note: we set --basedir to prevent probes that might trigger SELinux alarms,  +# Note: we set --basedir to prevent probes that might trigger SELinux alarms,
573  +# per bug #547485  +# per bug #547485
574  +ExecStart=/opt/rh/rh-mysql57/root/usr/libexec/mysqld-scl-helper enable $RH_MYSQL57_SCLS_ENABLED -- \  +ExecStart=/opt/rh/rh-mysql57/root/usr/libexec/mysqld-scl-helper enable $RH_MYSQL57_SCLS_ENABLED -- /opt/rh/rh-mysql57/root/usr/libexec/mysqld  \
575  +       /opt/rh/rh-mysql57/root/usr/libexec/mysqld \  +        --defaults-file=/etc/opt/rh/rh-mysql57/my.cnf \
576  +       --defaults-file= /etc/opt/rh/rh-mysql57/my.cnf  +        --datadir=/var/opt/rh/rh-mysql57/lib/mysql \
577  +       --datadir=/var/opt/rh/rh-mysql57/lib/mysql \  +        --user=mysql \
578  +       --user=mysql \  +        --daemonize \
579  +       --daemonize \  +        --basedir=/opt/rh/rh-mysql57/root/usr \
580  +       --basedir=/opt/rh/rh-mysql57/root/usr \  +        --pid-file=/var/run/rh-mysql57-mysqld/mysqld.pid
 +       --pid-file=/var/run/rh-mysql57-mysqld/mysqld.pid  
581  +  +
582  +ExecStartPost=/usr/bin/scl enable $RH_MYSQL57_SCLS_ENABLED -- /opt/rh/rh-mysql57/root/usr/libexec/mysql-check-upgrade  +ExecStartPost=/usr/bin/scl enable $RH_MYSQL57_SCLS_ENABLED -- /opt/rh/rh-mysql57/root/usr/libexec/mysql-check-upgrade
583  +ExecStopPost=/usr/bin/scl enable $RH_MYSQL57_SCLS_ENABLED -- /opt/rh/rh-mysql57/root/usr/libexec/mysql-wait-stop  +ExecStopPost=/usr/bin/scl enable $RH_MYSQL57_SCLS_ENABLED -- /opt/rh/rh-mysql57/root/usr/libexec/mysql-wait-stop
# Line 542  diff -Nur --no-dereference smeserver-mys Line 596  diff -Nur --no-dereference smeserver-mys
596  +  +
597  +[Install]  +[Install]
598  +WantedBy=sme-server.target  +WantedBy=sme-server.target
599    diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysql.init.service smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysql.init.service
600    --- smeserver-mysql57-2.0.0.old/root/usr/lib/systemd/system/mysql57-mysql.init.service  1969-12-31 19:00:00.000000000 -0500
601    +++ smeserver-mysql57-2.0.0/root/usr/lib/systemd/system/mysql57-mysql.init.service      2022-02-23 22:06:26.813000000 -0500
602    @@ -0,0 +1,20 @@
603    +[Unit]
604    +SourcePath=/sbin/e-smith/systemd/mysql57-mysql.init
605    +Description=Koozali SME Server mysql DB injector for mysql57
606    +After=mysql57-mysqld.service
607    +Requires=mysql57-mysqld.service
608    +
609    +[Service]
610    +Type=oneshot
611    +Restart=no
612    +TimeoutSec=10min
613    +IgnoreSIGPIPE=no
614    +KillMode=process
615    +GuessMainPID=no
616    +RemainAfterExit=yes
617    +ExecStart=/sbin/e-smith/systemd/mysql57-mysql.init start
618    +ExecStop=/sbin/e-smith/systemd/mysql57-mysql.init stop
619    +
620    +[Install]
621    +WantedBy=sme-server.target
622    +
623  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/control/d smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/control/d  diff -Nur --no-dereference smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/control/d smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/control/d
624  --- smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/control/d       2022-02-23 14:04:50.091000000 -0500  --- smeserver-mysql57-2.0.0.old/root/var/service/mysql57-mysqld/control/d       2022-02-23 14:04:50.091000000 -0500
625  +++ smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/control/d   1969-12-31 19:00:00.000000000 -0500  +++ smeserver-mysql57-2.0.0/root/var/service/mysql57-mysqld/control/d   1969-12-31 19:00:00.000000000 -0500


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