scripts-github-mirror/opensips
tianyu 14d74e0ffc Create rpm.opensips.init 2015-01-20 12:34:30 +08:00
..
README.md Rename autobuild.md to README.md 2015-01-17 22:35:14 +08:00
autobuild.cron Create autobuild.cron 2015-01-12 10:14:12 +08:00
autobuild.sh Create autobuild.sh 2015-01-12 10:14:37 +08:00
build.sh add backup 2014-11-13 14:52:32 +08:00
gdb.sh Create gdb.sh 2015-01-20 12:30:06 +08:00
install.sh add backup 2014-11-13 14:53:16 +08:00
mail.cfg Create mail.cfg 2015-01-12 10:15:38 +08:00
mail.sh Create mail.sh 2015-01-20 12:32:13 +08:00
mail2.sh Create mail2.sh 2015-01-20 12:31:25 +08:00
make.sh Create make.sh 2015-01-12 10:15:59 +08:00
makeself-header.sh Create makeself-header.sh 2014-11-06 11:13:11 +08:00
makeself.sh Create makeself.sh 2014-11-06 11:12:52 +08:00
rpm.opensips.init Create rpm.opensips.init 2015-01-20 12:34:30 +08:00

README.md

General

autobuild.sh will generate a file 'opensips.run' and send emails to the receivers. Add cron will auto build at every day's 0:00. This script also push the release file to remote server. Then you can call ./opensips.run on remote server to install opensips.

Useage

  1. First, you need a user maybe named builder or any else to build opensips, and sudo permission too.
  2. Add this script to PATH, maybe ~/bin. Make sure the *.sh files have execute access.
  3. Add a cron tab with something like this '0 0 * * * /home/builder/bin/autobuild.sh > /dev/null 2>&1 &'
  4. You need modify email.conf for the receivers.
  5. You need to modify the push server where scp pushs the file 'opensips.run'. Maybe need setup auth key of remote server.
  6. You need to modify script's location if necessary, for example my file tree is: .
├── bin
│   ├── autobuild.sh
│   ├── mail.cfg
│   └── make.sh
└── opensips
    └── install
        ├── build.sh
        ├── makeself-header.sh
        └── makeself.sh

autobuild.sh, mail.cfg, make.sh, build.sh, autobuild.cron

##More information please read *.sh files.