Skip to content

Commit

Permalink
few changes in db
Browse files Browse the repository at this point in the history
  • Loading branch information
kemboi22 committed Jul 23, 2024
1 parent 066188d commit 048fcb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions imageroot/systemd/user/db.service
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ ExecStart=/usr/bin/podman run --conmon-pidfile %t/mariadb-app.pid \
--env MARIADB_AUTO_UPGRADE=1 \
${MARIADB_IMAGE} \
--character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --skip-character-set-client-handshake
#ExecStartPost=/usr/bin/podman exec mariadb-app /bin/bash -c 'printf "[client] \npassword=Nethesis1234" > /root/.my.cnf'
#ExecStartPost=/usr/bin/podman exec mariadb-app /bin/bash -c "while ! mysqladmin ping -h localhost -P 3306 -u root; do sleep 1; done"
ExecStartPost=/usr/bin/podman exec mariadb-app /bin/bash -c 'printf "[client] \npassword=Nethesis1234" > /root/.my.cnf'
ExecStartPost=/usr/bin/podman exec mariadb-app /bin/bash -c "while ! mysqladmin ping -h localhost -P 3306 -u root; do sleep 1; done"
ExecStop=/usr/bin/podman stop --ignore --cidfile %t/mariadb-app.ctr-id -t 10
ExecStopPost=/usr/bin/podman rm --ignore -f --cidfile %t/mariadb-app.ctr-id
ExecReload=/usr/bin/podman kill -s HUP mariadb-app
Expand Down

0 comments on commit 048fcb5

Please sign in to comment.