This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
install:4.0.x:git [2013/03/11 13:55] miconda [9. The init.d script] |
install:4.0.x:git [2013/08/22 14:13] a.rohr [9. The init.d script] typo in a path |
||
---|---|---|---|
Line 50: | Line 50: | ||
< | < | ||
- | git clone --depth 1 git:// | + | git clone --depth 1 --no-single-branch |
cd kamailio | cd kamailio | ||
git checkout -b 4.0 origin/4.0 | git checkout -b 4.0 origin/4.0 | ||
</ | </ | ||
+ | //Note: if your git client version does not support **--no-single-branch** command line parameter, then just remove it.// | ||
===== 3.Tuning Makefiles ===== | ===== 3.Tuning Makefiles ===== | ||
Line 227: | Line 228: | ||
The init.d script can be used to start/stop the Kamailio server in a nicer way. A sample of init.d script for Kamailio is provided at: | The init.d script can be used to start/stop the Kamailio server in a nicer way. A sample of init.d script for Kamailio is provided at: | ||
- | |||
- | < | ||
- | / | ||
- | </ | ||
< | < | ||
Line 243: | Line 240: | ||
then edit the file updating the $DAEMON and $CFGFILE values: | then edit the file updating the $DAEMON and $CFGFILE values: | ||
+ | |||
< | < | ||
DAEMON=/ | DAEMON=/ | ||
Line 251: | Line 249: | ||
< | < | ||
- | / | + | / |
</ | </ | ||