- default config file is /usr/local/etc/kamailio. kamailio.init CFGFILE should match installed location. - kamailio is installed in /usr/local/sbin. kamailio.init PATH should have /usr/local/bin:/usr/local/sbin. - kamailio is installed in /usr/local/sbin. kamailio.init DAEMON should match installed location. - CFGFILE and ExecStart should match installed locations of kamailio.cfg and kamailio
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/609
-- Commit Summary --
* pkg/kamailio/deb/jessie: change default location * pkg/kamailio/deb/jessie: kamailio.service should match installed location
-- File Changes --
M pkg/kamailio/deb/jessie/kamailio.init (6) M pkg/kamailio/deb/jessie/kamailio.service (4)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/609.patch https://github.com/kamailio/kamailio/pull/609.diff
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/609
@fredposner the installed location is /usr/sbin/kamailio, /etc/kamailio etc... in debs why you need all of this changes?? This files are for build the debs not for manual instalations
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/609#issuecomment-218873225
@linuxmaniac I didn't realize they were for the packages. I apologize. Installing from git, and adding start-up scripts, one has to change those sections. I see, based on your comment, the value of not accepting my change.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/609#issuecomment-218874837
Closed #609.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/609#event-659125937
For init.d scripts, there is a make target, something like:
``` make install-initd-debian ``` It copies the files from pkg folder, but then does some sed replacements to adjust to the target folder, even following the PREFIX preference.
Perhaps we should add a target for systemd as well, being now the default in latest OSes.
--- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/pull/609#issuecomment-218876686