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:
parent
870f378782
commit
649cb548d0
5 changed files with 24 additions and 4 deletions
|
@ -2,6 +2,7 @@
|
|||
Description=Traefik
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
ExecStart=/usr/bin/traefik --configFile=/etc/traefik.toml
|
||||
Restart=on-failure
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue