Skip to content

Commit

Permalink
Add log level variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
racke committed Nov 11, 2020
1 parent b958676 commit 52d8acc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sympa.conf.tt2
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ db_host [% db_host %]
db_user [% db_user %]
db_passwd [% db_pass %]

[% IF log_level %]
log_level [% log_level %]
[% END %]

[% IF sendmail %]
sendmail [% sendmail %]
[% END %]
1 change: 1 addition & 0 deletions write-sympa-conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ tpage --define db_type="$SYMPA_DB_TYPE" \
--define db_host="$SYMPA_DB_HOST" \
--define db_user="$SYMPA_DB_USER" \
--define db_pass="$SYMPA_DB_PASS" \
--define log_level="$SYMPA_LOG_LEVEL" \
--define sendmail="$SYMPA_MAIL_SENDMAIL" \
sympa.conf.tt2 > $SYMPA_CONF

Expand Down

0 comments on commit 52d8acc

Please sign in to comment.