Created
February 12, 2015 13:36
-
-
Save glynnbird/afb07c95250af61896ab to your computer and use it in GitHub Desktop.
Start script for Pi/Couchdb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
home=/home/pi/couchdb | |
/usr/bin/erl -args_file "$home/dev/lib/node1/etc/vm.args" -config "$home/rel/files/sys" -couch_ini "$home/dev/lib/node1/etc/default.ini" "$home/dev/lib/node1/etc/local.ini" -reltool_config "$home/rel/reltool.config" -parent_pid "$$" -pa "$home/dev" -pa "$home/src/*" -s boot_node | |
# gives error message | |
# {"init terminating in do_boot",{{error,{"no such file or directory","ioq.app"}},[{boot_node,start_app,3,[{file,"dev/boot_node.erl"},{line,134}]},{lists,foldl,3,[{file,"lists.erl"},{line,1261}]},{init,start_it,1,[]},{init,start_em,1,[]}]}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment