mdevilliers / redishappy

Redis Sentinel high availabillity daemon
Apache License 2.0
114 stars 23 forks source link

redishappy-consul deb built with incorrect config path in upstart script (/etc/redishappy versus /etc/redishappy-consul) #30

Closed dominics closed 9 years ago

dominics commented 9 years ago

When I follow the build instructions, I end up with a .deb with the following contents:

$ dpkg -L redishappy-consul
[...]
/etc/redishappy-consul
/etc/redishappy-consul/config.json
[...]
/etc/init/redishappy-consul-service.conf

But the contents of the upstart script look for the config.json in a different path:

$ cat /etc/init/redishappy-consul-service.conf
[...]
script
    exec /usr/bin/redis-consul -config /etc/redishappy/config.json -log /var/log/redishappy-consul
end script
mdevilliers commented 9 years ago

Thanks for that - have fixed in master.

Thanks again,

Mark