Skip to content

Commit

Permalink
Merge pull request #191 from rug-cit-hpc/fix/mariadb-unit-file
Browse files Browse the repository at this point in the history
Fixed failure in execstartpre sequences.
  • Loading branch information
pneerincx authored Nov 7, 2019
2 parents 5edc31e + fa09e93 commit d2bdad7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions roles/mariadb/templates/mysql.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ Requires=docker.service
[Service]
TimeoutStartSec=0
Restart=always
ExecStartPre=-/usr/bin/docker kill %n || /bin/true
ExecStartPre=-/usr/bin/docker rm %n
ExecStartPre=/bin/bash -c "/usr/bin/docker rm -f %n || true"
ExecStartPre=/usr/bin/docker pull mariadb:10.2
ExecStart=/usr/bin/docker run --name %n \
--network host \
Expand Down

0 comments on commit d2bdad7

Please sign in to comment.