Closed gilesvangruisen closed 5 years ago
Tests passed. Merging now.
Thanks @brikis98 !
@gilesvangruisen You might want to consider increasing the systemd TimeoutSec
config for your application (#148). I started noticing timeout failures on services that depended on consul after the type change from simple
to notify
.
@Etiene ahh, that's very wise. Would have missed this otherwise. Thank you!!
Hey there- thanks for this module!
We've been noticing a race condition wherein our application, which depends on having joined the Consul cluster, starts up after Consul has started but before the cluster has been joined.
We are using systemd service configurations for both Consul and our application, which explicitly defines
Requires=consul.service
andAfter=consul.service
. Because theconsul.service
Unit file written by this module has no Type specified, it defaults tosimple
, so systemd considers the service "active (running)" as soon as the task is started.I saw this PR on the Consul library itself, and thought that this module probably wants to be updated too, since others (like us) are using this to configure remote machines to join a Consul cluster.
Thanks!