Skip to content

Commit

Permalink
Wait for network before starting Kafka for systemd
Browse files Browse the repository at this point in the history
This should ensure that Kafka is started after the network is online
after a reboot.
  • Loading branch information
mthssdrbrg committed Sep 20, 2016
1 parent 297b317 commit 576fd6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/default/systemd/default.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
[Unit]
Description=<%= @daemon_name %> daemon
Wants=network-online.target
After=network-online.target

[Service]
User=<%= @user %>
Expand Down

0 comments on commit 576fd6a

Please sign in to comment.