Skip to content

Commit

Permalink
Add configuration for TURN
Browse files Browse the repository at this point in the history
  • Loading branch information
farao committed Nov 15, 2022
1 parent ad522ce commit b65d42d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions roles/palava-signaltower/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ palava_signaltower_log_dir: /var/log/signaltower
palava_signaltower_port: 4233
palava_signaltower_autostart: yes

# palava_signaltower_turn_secret: TURN_SECRET__IF_GIVEN_TURN_IS_ENABLED

palava_signaltower_version: master

palava_environment: production
Expand Down
5 changes: 4 additions & 1 deletion roles/palava-signaltower/templates/signaltower.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ Restart=on-failure
Type=forking
RestartSec=5
Environment=SIGNALTOWER_PORT={{ palava_signaltower_port }}
{% if palava_signaltower_turn_secret|default(False) %}
Environment=SIGNALTOWER_TURN_SECRET={{ palava_signaltower_turn_secret }}
{% endif %}
Environment=LOG_FILE={{ palava_signaltower_log_dir }}/signaltower.log
SyslogIdentifier=signaltower

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target

0 comments on commit b65d42d

Please sign in to comment.