blob: 314fed646ddf97e55088976bc512c635f3421f87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
diff -aur rtpproxy-2.0.0.orig/rpm/rtpproxy.service rtpproxy-2.0.0/rpm/rtpproxy.service
--- rtpproxy-2.0.0.orig/rpm/rtpproxy.service 2015-03-09 13:40:27.000000000 -0400
+++ rtpproxy-2.0.0/rpm/rtpproxy.service 2017-05-16 15:59:04.957253252 -0400
@@ -6,7 +6,7 @@
Type=notify
User=rtpproxy
Group=rtpproxy
-EnvironmentFile=/etc/sysconfig/rtpproxy
+EnvironmentFile=/etc/default/rtpproxy
PIDFile=/var/run/rtpproxy/rtpproxy.pid
ExecStart=/usr/bin/rtpproxy -f -p /var/run/rtpproxy/rtpproxy.pid $OPTIONS
diff -aur rtpproxy-2.0.0.orig/rpm/rtpproxy.socket rtpproxy-2.0.0/rpm/rtpproxy.socket
--- rtpproxy-2.0.0.orig/rpm/rtpproxy.socket 2015-03-09 13:40:27.000000000 -0400
+++ rtpproxy-2.0.0/rpm/rtpproxy.socket 2017-05-16 15:59:32.623823832 -0400
@@ -2,7 +2,7 @@
Description=RTPproxy controlling socket
[Socket]
-ListenStream=127.0.0.1:22222
+ListenFIFO=/run/rtpproxy/rtpproxy.sock
Accept=false
[Install]
diff -aur rtpproxy-2.0.0.orig/rpm/rtpproxy.sysconfig rtpproxy-2.0.0/rpm/rtpproxy.sysconfig
--- rtpproxy-2.0.0.orig/rpm/rtpproxy.sysconfig 2015-03-09 13:40:27.000000000 -0400
+++ rtpproxy-2.0.0/rpm/rtpproxy.sysconfig 2017-05-16 15:59:55.013746076 -0400
@@ -1 +1 @@
-OPTIONS=""
+OPTIONS="-s unix:/run/rtpproxy/rtpproxy.sock"
|