Guest User

Red5 Debian AutoStart

a guest
Jan 19th, 2016
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. sudo chmod 777 /usr/local/red5/red5.sh
  2. sudo chmod 777 /usr/local/red5/red5-debug.sh
  3. sudo chmod 777 /usr/local/red5/red5-shutdown.sh
  4. sudo chmod 777 /usr/local/red5/log/
  5.  
  6.  
  7. Prepare script for startup
  8. ========================
  9.  
  10. Create a file called "red5" in /etc/init.d with content from :
  11. https://gist.github.com/rajdeeprath/6f07cfc33c6fc0196f10
  12.  
  13.  
  14. Then:
  15. ======
  16. cd /etc/init.d
  17. sudo touch red5
  18. sudo chmod 777 red5
  19.  
  20.  
  21. Register service
  22. ================
  23. sudo /usr/sbin/update-rc.d red5 defaults
  24. sudo /usr/sbin/update-rc.d red5 enable
  25.  
  26. DONE!!
Add Comment
Please, Sign In to add comment