Kaynağa Gözat

turn daemon

Bob Mottram 8 yıl önce
ebeveyn
işleme
af22235ae5
2 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 1
    0
      src/freedombone-app-matrix
  2. 3
    0
      src/freedombone-utils-turn

+ 1
- 0
src/freedombone-app-matrix Dosyayı Görüntüle

322
 
322
 
323
     echo '[Unit]' > /etc/systemd/system/matrix.service
323
     echo '[Unit]' > /etc/systemd/system/matrix.service
324
     echo 'Description=Matrix federated messaging' >> /etc/systemd/system/matrix.service
324
     echo 'Description=Matrix federated messaging' >> /etc/systemd/system/matrix.service
325
+    echo 'After=network.target nginx.target' >> /etc/systemd/system/matrix.service
325
     echo '' >> /etc/systemd/system/matrix.service
326
     echo '' >> /etc/systemd/system/matrix.service
326
     echo '[Service]' >> /etc/systemd/system/matrix.service
327
     echo '[Service]' >> /etc/systemd/system/matrix.service
327
     echo 'Type=simple' >> /etc/systemd/system/matrix.service
328
     echo 'Type=simple' >> /etc/systemd/system/matrix.service

+ 3
- 0
src/freedombone-utils-turn Dosyayı Görüntüle

90
 
90
 
91
     chown -R matrix:matrix /var/lib/turn
91
     chown -R matrix:matrix /var/lib/turn
92
 
92
 
93
+    echo '[Unit]' > /etc/systemd/system/matrix.service
94
+    echo 'Description=TURN server' >> /etc/systemd/system/turn.service
95
+    echo 'After=network.target nginx.target' >> /etc/systemd/system/turn.service
93
     echo '' >> /etc/systemd/system/turn.service
96
     echo '' >> /etc/systemd/system/turn.service
94
     echo '[Service]' >> /etc/systemd/system/turn.service
97
     echo '[Service]' >> /etc/systemd/system/turn.service
95
     echo 'Type=simple' >> /etc/systemd/system/turn.service
98
     echo 'Type=simple' >> /etc/systemd/system/turn.service