Skip to content

Commit

Permalink
Merge pull request #3 from stakater/release-v.0.1.0
Browse files Browse the repository at this point in the history
Make curator dependent on elastic search
  • Loading branch information
hazim1093 authored May 17, 2018
2 parents ca93a0b + ad0a17b commit 54ae94a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions curator/curator.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Curator service, for deleting indices of elastic search older than 6 months
After=docker.service consul-agent.service
Requires=docker.service consul-agent.service
After=docker.service consul-agent.service elasticsearch.service
Requires=docker.service consul-agent.service elasticsearch.service

[Service]
ExecStartPre=/usr/bin/bash -c "/usr/bin/systemctl set-environment IPV4=$(curl http://169.254.169.254/latest/meta-data/local-ipv4)"
Expand Down

0 comments on commit 54ae94a

Please sign in to comment.