metasploitable3/chef/cookbooks/metasploitable/templates/readme_app/start.sh.erb

6 lines
124 B
Plaintext

#!/bin/sh
cd /opt/readme_app
bundle install --path vendor/bundle
bundle exec rails s -b 0.0.0.0 -p <%= @readme_app_port %>