* Fri Apr 05 2024 Jean-Philippe Pialasse <jpp@koozali.org> 11.0.0-4.sme
- tidy spec and sources for mariadb10.5 support [SME: 12524] - try to make compatible with higher version from mariadb repo [SME: 11856] - fix logrotate duplicate entry [SME: 12554] * Thu Apr 04 2024 Brian Read <brianr@koozali.org> 11.0.0-3.sme - Set license file to GPL2.0 [SME: 12577]
This commit is contained in:
@@ -4,15 +4,15 @@ After=syslog.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
#allow our expand-templates
|
||||
PermissionsStartOnly=true
|
||||
|
||||
#reset
|
||||
ExecStartPre=
|
||||
#ours : we need root user as + and ! are not yet supported
|
||||
ExecStartPre=/usr/libexec/mysql-check-socket
|
||||
ExecStartPre=-/sbin/e-smith/service-status mariadb
|
||||
ExecStartPre=-/sbin/e-smith/expand-template /var/lib/mysql/set.password
|
||||
ExecStartPre=-/sbin/e-smith/expand-template /var/lib/mysql.private/set.password
|
||||
ExecStartPre=-/sbin/e-smith/expand-template /root/.my.cnf
|
||||
ExecStartPre=-/sbin/e-smith/expand-template /etc/my.cnf
|
||||
ExecStartPre=/sbin/e-smith/systemd/mariadb-initialize
|
||||
@@ -27,16 +27,7 @@ ExecStart=/usr/libexec/mysqld \
|
||||
--user=mysql \
|
||||
--pid-file=/var/run/mariadb/mariadb.pid
|
||||
|
||||
#reset
|
||||
ExecStartPost=
|
||||
#ours
|
||||
ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID
|
||||
|
||||
# Give a reasonable amount of time for the server to start up/shut down
|
||||
TimeoutSec=300
|
||||
|
||||
# Place temp files in a secure directory, not /tmp
|
||||
PrivateTmp=true
|
||||
ExecStartPost=-/sbin/e-smith/systemd/mariadb-post
|
||||
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
||||
|
Reference in New Issue
Block a user