write logs to file if BSD only

This commit is contained in:
Jack Ivanov 2017-04-17 18:12:38 +02:00
parent 9c12272c8c
commit ea5976f49b

View file

@ -11,7 +11,7 @@ charon {
}
user = strongswan
group = strongswan
{% if ansible_distribution == 'FreeBSD' %}
filelog {
/var/log/charon.log {
time_format = %b %e %T
@ -21,6 +21,7 @@ charon {
flush_line = yes
}
}
{% endif %}
}
include strongswan.d/*.conf