Fork of FusionPBX but with LDAP kinda working
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
328 B

  1. #!/bin/sh
  2. #move to script directory so all relative paths work
  3. cd "$(dirname "$0")"
  4. #includes
  5. . ./config.sh
  6. #install monit
  7. apt-get install -y monit
  8. #make the monit shell script executable
  9. chmod 755 monit/shell.sh
  10. #copy the freeswitch monit config
  11. cp monit/freeswitch /etc/monit/conf.d
  12. #restart monit
  13. service monit restart