remove init.d freeswitch
This commit is contained in:
parent
a9b1110c93
commit
771fcd29bb
|
|
@ -3,6 +3,17 @@ cp -R /usr/local/freeswitch/conf /etc/freeswitch
|
|||
cp -R /usr/local/freeswitch/recordings/* /var/lib/freeswitch/recordings
|
||||
cp -R /usr/local/freeswitch/storage/* /var/lib/freeswitch/storage
|
||||
cp -R /usr/local/freeswitch/scripts/* /usr/share/freeswitch/scripts
|
||||
|
||||
#make sure the etc fusionpbx directory exists
|
||||
mkdir -p /etc/fusionpbx
|
||||
|
||||
#remove init.d startup script
|
||||
mv /etc/init.d/freeswitch /usr/src/init.d.freeswitch
|
||||
update-rc.d -f freeswitch remove
|
||||
|
||||
#add the the freeswitch package
|
||||
$(dirname $0)/package-release.sh
|
||||
|
||||
#install freeswitch systemd.d
|
||||
$(dirname $0)/package-systemd.sh
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue