Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command=$1
- case $command in
- "start")
- cd /usr/share/redmine/;
- bundle exec ruby script/rails server webrick -e production >> /var/log/redmine/log.log 2> /var/log/redmine/error.log &
- ;;
- "stop")
- pid=`cat /usr/share/redmine/tmp/pids/server.pid`;
- kill -9 $pid
- esac;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement