Module: kamailio
Branch: 5.1
Commit: 6e2ab8089fd4d4b3ca0a23e240765474e6648b3c
URL:
https://github.com/kamailio/kamailio/commit/6e2ab8089fd4d4b3ca0a23e24076547…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-14T11:23:01+01:00
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)
---
Modified: utils/kamctl/kamctl.base
Modified: utils/kamctl/kamctlrc
---
Diff:
https://github.com/kamailio/kamailio/commit/6e2ab8089fd4d4b3ca0a23e24076547…
Patch:
https://github.com/kamailio/kamailio/commit/6e2ab8089fd4d4b3ca0a23e24076547…
---
diff --git a/utils/kamctl/kamctl.base b/utils/kamctl/kamctl.base
index eb8ab554b7..641449422c 100644
--- a/utils/kamctl/kamctl.base
+++ b/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
diff --git a/utils/kamctl/kamctlrc b/utils/kamctl/kamctlrc
index 836290a5b8..d6e927fe84 100644
--- a/utils/kamctl/kamctlrc
+++ b/utils/kamctl/kamctlrc
@@ -154,7 +154,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