Skip to content

Commit

Permalink
Add LSYNCD_OPTIONS for CentOS
Browse files Browse the repository at this point in the history
The lsyncd daemon on CentOS can't find the location of its
configuration file because the LSYNCD_OPTIONS variable is
missing in the defaults file.

Closes-bug: 1689965
Change-Id: I1dc24570f0d724cfe7b3338e04ad8cf50ed8b558
(cherry picked from commit c43efe5)
  • Loading branch information
major authored and mgariepy committed May 15, 2017
1 parent 860ff80 commit 6f89566
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/lsyncd.defaults.j2
@@ -1 +1,5 @@
{% if ansible_os_family == 'Debian' %}
DAEMON_ARGS="$DAEMON_ARGS -insist"
{% elif ansible_os_family == 'RedHat' %}
LSYNCD_OPTIONS="{{ repo_lsyncd_config_file }}"
{% endif %}

0 comments on commit 6f89566

Please sign in to comment.