1
0
Fork 0

Use sdnotify for systemd (#768)

* Use sdnotify for systemd

This is useful if a configuration is long to load.
Systemd will continue dependency chain only when server have finish to start.

https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type=

* Extract the waiting behavior from Start()
This commit is contained in:
Guilhem Lettron 2016-10-25 17:59:39 +02:00 committed by Vincent Demeester
parent 870f378782
commit 649cb548d0
5 changed files with 24 additions and 4 deletions

View file

@ -102,3 +102,7 @@ import:
- package: github.com/docker/leadership
- package: github.com/satori/go.uuid
version: ^1.1.0
- package: github.com/coreos/go-systemd
version: v12
subpackages:
- daemon