mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-09 17:37:02 +03:00
Log when startup is successful
This commit is contained in:
parent
9f3a47ed53
commit
686fdf7c6f
2 changed files with 18 additions and 10 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# See: https://github.com/GoogleContainerTools/container-structure-test/issues/78
|
||||
schemaVersion: 2.0.0
|
||||
commandTests:
|
||||
- name: Server starts
|
||||
- name: Integration test
|
||||
command: /bin/sh
|
||||
args:
|
||||
- -c
|
||||
|
|
@ -14,6 +14,10 @@ commandTests:
|
|||
pidof supervisord
|
||||
pidof nginx
|
||||
pidof php-fpm
|
||||
ls -al /var/lib/snappymail/_data_/_default_/configs/application.ini
|
||||
ls -al /var/lib/snappymail/_data_/_default_/admin_password.txt
|
||||
nc -vz localhost 8888
|
||||
nc -vz localhost 9000
|
||||
wget -S -T 3 -O /dev/null http://localhost:8888
|
||||
kill `pidof supervisord`
|
||||
metadataTest:
|
||||
|
|
@ -22,4 +26,4 @@ metadataTest:
|
|||
entrypoint: []
|
||||
cmd: ["/entrypoint.sh"]
|
||||
workdir: /snappymail
|
||||
user: ''
|
||||
user: root
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue