1
0
mirror of https://github.com/mail-in-a-box/mailinabox.git synced 2026-03-15 17:37:22 +01:00

Use netcat to check if mailinabox webservice is available

[JT added installing netcat-openbsd in system.sh]
This commit is contained in:
Toilal
2015-04-04 17:44:14 +02:00
committed by Joshua Tauberer
parent 5edaeb8c7b
commit ce17c12ca2
3 changed files with 5 additions and 6 deletions

View File

@@ -42,8 +42,5 @@ EOF
chmod +x /etc/cron.daily/mailinabox-statuschecks
# Start it. Remove the api key file first so that start.sh
# can wait for it to be created to know that the management
# server is ready.
rm -f /var/lib/mailinabox/api.key
# Start it.
restart_service mailinabox