Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #/bin/bash
- export HOME=/root
- export LC_ALL=C
- export LANGUAGE=C
- if mountpoint /proc; then
- mount --bind /dev dev/
- chroot . /startme.sh
- else
- mount none -t proc /proc
- mount none -t sysfs /sys
- mount none -t devpts /dev/pts
- /etc/init.d/ssh start
- /etc/init.d/mysql start
- cd /var/www/redmine
- screen -dmS redmine bundle exec rails server webrick -e production -p 80 -b 0.0.0.0
- /bin/bash -i
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement