mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-28 07:28:00 +02:00
[feat] Add a port check to the mysql state
This commit is contained in:
@@ -85,4 +85,9 @@ so-mysql:
|
|||||||
- /opt/so/log/mysql:/var/log/mysql:rw
|
- /opt/so/log/mysql:/var/log/mysql:rw
|
||||||
- watch:
|
- watch:
|
||||||
- /opt/so/conf/mysql/etc
|
- /opt/so/conf/mysql/etc
|
||||||
|
cmd.run:
|
||||||
|
- name: until nc -z localhost 3306; do sleep 1; done
|
||||||
|
- timeout: 10
|
||||||
|
- onchanges:
|
||||||
|
- docker_container: so-mysql
|
||||||
{% endif %}
|
{% endif %}
|
||||||
Reference in New Issue
Block a user