Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo chmod 777 /usr/local/red5/red5.sh
- sudo chmod 777 /usr/local/red5/red5-debug.sh
- sudo chmod 777 /usr/local/red5/red5-shutdown.sh
- sudo chmod 777 /usr/local/red5/log/
- Prepare script for startup
- ========================
- Create a file called "red5" in /etc/init.d with content from :
- https://gist.github.com/rajdeeprath/6f07cfc33c6fc0196f10
- Then:
- ======
- cd /etc/init.d
- sudo touch red5
- sudo chmod 777 red5
- Register service
- ================
- sudo /usr/sbin/update-rc.d red5 defaults
- sudo /usr/sbin/update-rc.d red5 enable
- DONE!!
Add Comment
Please, Sign In to add comment