This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Download latest ant media server and run this script by giving the zip file | |
| # ./install_ant-media-server.sh ant-media-server-*.zip | |
| # If you want to save setting from previous installation add argument true | |
| # ./install_ant-media-server.sh ant-media-server-*.zip true | |
| AMS_BASE=/usr/local/antmedia | |
| BACKUP_DIR="/usr/local/antmedia-backup-"$(date +"%Y-%m-%d_%H-%M-%S") |