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

Annotation 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


Revision 1.1 - (hide annotations) (download)
Tue Dec 8 03:49:44 2020 UTC (3 years, 10 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-mysql-2_6_0-15_el7_sme, e-smith-mysql-2_6_0-14_el7_sme
* Mon Dec 07 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-14.sme
- e-smith-update event [SME: 11145]
- mariadb systemd integration [SME: 11021]
  move set.password and template
  create /usr/lib/systemd/system/mariadb.service.d/sme.conf
  create /sbin/e-smith/systemd/mariadb-initialize + chmod
  cleanup
- mysql.init systemd integration [SME: 11120]
  create mysql_init.service

1 jpp 1.1 diff -Nur e-smith-mysql-2.6.0.old/root/usr/lib/systemd/system/mysql.init.service e-smith-mysql-2.6.0/root/usr/lib/systemd/system/mysql.init.service
2     --- e-smith-mysql-2.6.0.old/root/usr/lib/systemd/system/mysql.init.service 1969-12-31 19:00:00.000000000 -0500
3     +++ e-smith-mysql-2.6.0/root/usr/lib/systemd/system/mysql.init.service 2020-12-07 22:37:53.569000000 -0500
4     @@ -0,0 +1,19 @@
5     +[Unit]
6     +SourcePath=/etc/rc.d/init.d/mysql.init
7     +Description=Koozali SME Server mysql DB injector for mariadb
8     +After=mariadb.service
9     +Requires=mariadb.service
10     +
11     +[Service]
12     +Type=oneshot
13     +Restart=no
14     +TimeoutSec=10min
15     +IgnoreSIGPIPE=no
16     +KillMode=process
17     +GuessMainPID=no
18     +RemainAfterExit=yes
19     +ExecStart=/etc/rc.d/init.d/mysql.init start
20     +ExecStop=/etc/rc.d/init.d/mysql.init stop
21     +
22     +[Install]
23     +WantedBy=sme-server.target

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