turn daemon
This commit is contained in:
parent
e054b0658d
commit
af22235ae5
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue