|
@@ -14,7 +14,7 @@ ExecStartPre=/bin/mkdir -p /var/run/freeswitch/
|
|
ExecStartPre=/bin/chown -R www-data:www-data /var/run/freeswitch/
|
|
ExecStartPre=/bin/chown -R www-data:www-data /var/run/freeswitch/
|
|
ExecStart=/usr/bin/freeswitch -u www-data -g www-data -ncwait $DAEMON_OPTS
|
|
ExecStart=/usr/bin/freeswitch -u www-data -g www-data -ncwait $DAEMON_OPTS
|
|
TimeoutSec=45s
|
|
TimeoutSec=45s
|
|
-Restart=always
|
|
|
|
|
|
+Restart=always
|
|
; exec
|
|
; exec
|
|
User=root
|
|
User=root
|
|
Group=daemon
|
|
Group=daemon
|
|
@@ -23,7 +23,7 @@ LimitNOFILE=100000
|
|
LimitNPROC=60000
|
|
LimitNPROC=60000
|
|
LimitSTACK=250000
|
|
LimitSTACK=250000
|
|
LimitRTPRIO=infinity
|
|
LimitRTPRIO=infinity
|
|
-LimitRTTIME=7000000
|
|
|
|
|
|
+LimitRTTIME=infinity
|
|
IOSchedulingClass=realtime
|
|
IOSchedulingClass=realtime
|
|
IOSchedulingPriority=2
|
|
IOSchedulingPriority=2
|
|
CPUSchedulingPolicy=rr
|
|
CPUSchedulingPolicy=rr
|