Browse Source

Merge pull request #1809 from gravitl/bugfix_v0.17.1_daemon_startup

fix daemon startup with longer wait
dcarns 2 years ago
parent
commit
b3d5fa5e1b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      netclient/daemon/systemd.go

+ 1 - 0
netclient/daemon/systemd.go

@@ -51,6 +51,7 @@ Wants=network-online.target
 [Service]
 [Service]
 User=root
 User=root
 Type=simple
 Type=simple
+ExecStartPre=/bin/sleep 17
 ExecStart=/sbin/netclient daemon
 ExecStart=/sbin/netclient daemon
 Restart=on-failure
 Restart=on-failure
 RestartSec=15s
 RestartSec=15s