turn daemon

This commit is contained in:
Bob Mottram 2016-12-30 16:14:41 +00:00
parent e054b0658d
commit af22235ae5
2 changed files with 4 additions and 0 deletions

View File

@ -322,6 +322,7 @@ function install_matrix {
echo '[Unit]' > /etc/systemd/system/matrix.service echo '[Unit]' > /etc/systemd/system/matrix.service
echo 'Description=Matrix federated messaging' >> /etc/systemd/system/matrix.service echo 'Description=Matrix federated messaging' >> /etc/systemd/system/matrix.service
echo 'After=network.target nginx.target' >> /etc/systemd/system/matrix.service
echo '' >> /etc/systemd/system/matrix.service echo '' >> /etc/systemd/system/matrix.service
echo '[Service]' >> /etc/systemd/system/matrix.service echo '[Service]' >> /etc/systemd/system/matrix.service
echo 'Type=simple' >> /etc/systemd/system/matrix.service echo 'Type=simple' >> /etc/systemd/system/matrix.service

View File

@ -90,6 +90,9 @@ function install_turn {
chown -R matrix:matrix /var/lib/turn chown -R matrix:matrix /var/lib/turn
echo '[Unit]' > /etc/systemd/system/matrix.service
echo 'Description=TURN server' >> /etc/systemd/system/turn.service
echo 'After=network.target nginx.target' >> /etc/systemd/system/turn.service
echo '' >> /etc/systemd/system/turn.service echo '' >> /etc/systemd/system/turn.service
echo '[Service]' >> /etc/systemd/system/turn.service echo '[Service]' >> /etc/systemd/system/turn.service
echo 'Type=simple' >> /etc/systemd/system/turn.service echo 'Type=simple' >> /etc/systemd/system/turn.service