Skip to content

Commit

Permalink
Make ZK startup only after network is up
Browse files Browse the repository at this point in the history
In order to avoid name-resolution and connectivity issues to other cluster nodes, make sure ZK only starts up after the network has started up properly.
  • Loading branch information
Darwiner authored and ernestas-poskus committed Dec 15, 2017
1 parent fb5b78f commit 7bd414a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/zookeeper.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

[Unit]
Description=ZooKeeper
After=network.target
Wants=network.target

[Service]
Type=simple
Expand Down

0 comments on commit 7bd414a

Please sign in to comment.