Module: kamailio
Branch: master
Commit: 6abd8472b764f88c5c054becb440fda8fff47349
URL:
https://github.com/kamailio/kamailio/commit/6abd8472b764f88c5c054becb440fda…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-08T08:55:35+01:00
kamctl: set default PID_FILE to /var/run/kamailio/kamailio.pid
- this being now the path used by default kamailio options
---
Modified: utils/kamctl/kamctl.base
Modified: utils/kamctl/kamctlrc
---
Diff:
https://github.com/kamailio/kamailio/commit/6abd8472b764f88c5c054becb440fda…
Patch:
https://github.com/kamailio/kamailio/commit/6abd8472b764f88c5c054becb440fda…
---
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