瀏覽代碼

kamctl: set default PID_FILE to /var/run/kamailio/kamailio.pid

- this being now the path used by default kamailio options

(cherry picked from commit 6abd8472b764f88c5c054becb440fda8fff47349)
(cherry picked from commit 6e2ab8089fd4d4b3ca0a23e240765474e6648b3c)
Daniel-Constantin Mierla 7 年之前
父節點
當前提交
b017462a1a
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      utils/kamctl/kamctl.base
  2. 1 1
      utils/kamctl/kamctlrc

+ 1 - 1
utils/kamctl/kamctl.base

@@ -101,7 +101,7 @@ fi
 ##### ------------------------------------------------ #####
 ### configuration for starting/stopping kamailio
 if [ -z "$PID_FILE" ] ; then
-	PID_FILE=/var/run/kamailio.pid
+	PID_FILE=/var/run/kamailio/kamailio.pid
 fi
 if [ -z "$SYSLOG" ] ; then
 	SYSLOG=1 # 0=output to console, 1=output to syslog

+ 1 - 1
utils/kamctl/kamctlrc

@@ -150,7 +150,7 @@
 # STORE_PLAINTEXT_PW=0
 
 ## Kamailio START Options
-## PID file path - default is: /var/run/kamailio.pid
+## PID file path - default is: /var/run/kamailio/kamailio.pid
 # PID_FILE=/var/run/kamailio/kamailio.pid
 
 ## Extra start options - default is: not set