add pre exec to make sure DNS is ready to answer

Dirty hack
pull/32/head
Geoffrey Merck 3 years ago committed by GitHub
parent a19ba80fb8
commit 46d4539c10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6,6 +6,7 @@ Wants=network-online.target
[Service]
User=dstar
Type=simple
ExecStartPre=/bin/bash -c 'until host google.com; do sleep 1; done'
ExecStart=/usr/local/bin/dstargateway %CFG_DIR%/dstargateway.cfg
Restart=on-failure
RestartSec=5

Loading…
Cancel
Save

Powered by TurnKey Linux.