mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-03-04 02:14:40 +01:00
ServiceManagerReadyNotify is not just for systemd
This commit is contained in:
parent
77059ce450
commit
361455cd58
1 changed files with 3 additions and 3 deletions
|
@ -234,9 +234,9 @@ func (proxy *Proxy) StartProxy() {
|
|||
curve25519.ScalarBaseMult(&proxy.proxyPublicKey, &proxy.proxySecretKey)
|
||||
proxy.startAcceptingClients()
|
||||
if !proxy.child {
|
||||
// Notify systemd that dnscrypt-proxy is ready. dnscrypt-proxy manages itself in case
|
||||
// servers are not immediately live/reachable. Systemd may assume it is initialized and
|
||||
// functioning properly. Note that the systemd notify 'Ready' signal is delayed if netprobe
|
||||
// Notify the service manager that dnscrypt-proxy is ready. dnscrypt-proxy manages itself in case
|
||||
// servers are not immediately live/reachable. The service manager may assume it is initialized and
|
||||
// functioning properly. Note that the service manager 'Ready' signal is delayed if netprobe
|
||||
// cannot reach the internet during start-up.
|
||||
if err := ServiceManagerReadyNotify(); err != nil {
|
||||
dlog.Fatal(err)
|
||||
|
|
Loading…
Add table
Reference in a new issue