Revert "TT#23358 Move db_redis table descriptor in /etc/kamailio folder"

This reverts commit 1192c499ca.

Reverted because ngcp-check-status-integrity complains about integrity
of Debian package files after changes are applied with ngcpcfg framework.

Change-Id: I7d1e998b226712614a681800082ab94979fcd355
changes/10/32310/1
Marco Capetta 7 years ago
parent 1192c499ca
commit 5fea855f16

@ -11,17 +11,6 @@ case "$1" in
--shell /bin/false --gecos "Kamailio" \
--home "$HOMEDIR" kamailio || true
# Move kamailio db_redis table descriptors onder /etc/kamailio/db_redis folder
# in order to easily modify it using ngcpcfg templates
if [ -d /usr/share/kamailio/db_redis ] && [ -d /etc/kamailio/ ]; then
# Copy kamailio original content in the target folder
mv /usr/share/kamailio/db_redis /etc/kamailio/
# Create symlink
ln -sf /etc/kamailio/db_redis /usr/share/kamailio/db_redis
fi
# Remove obsolete rc.d links.
update-rc.d kamailio-lb remove
update-rc.d kamailio-proxy remove

Loading…
Cancel
Save