Skip to content

Instantly share code, notes, and snippets.

@tisba
Created July 25, 2010 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tisba/489646 to your computer and use it in GitHub Desktop.
Save tisba/489646 to your computer and use it in GitHub Desktop.
diff --git a/bin/pillow.tpl.in b/bin/pillow.tpl.in
index bc0bdfb..bfb9408 100755
--- a/bin/pillow.tpl.in
+++ b/bin/pillow.tpl.in
@@ -214,7 +214,7 @@ start_pillow () {
touch $PID_FILE
interactive_option="+Bd -noinput"
fi
- command="/usr/bin/erl -sname pillow $interactive_option -boot start_sasl +K true \
+ command="%ERL%/erl -sname pillow $interactive_option -boot start_sasl +K true \
-env ERL_LIBS %localerlanglibdir% -pillow_ini $start_arguments -s pillow"
if test "$BACKGROUND" = "true" -a "$RECURSED" = "false"; then
$0 $background_start_arguments -b -r $RESPAWN_TIMEOUT -p $PID_FILE \
@@ -283,7 +283,7 @@ stop_pillow () {
remote_command() {
rpc_command=$1
- remote_shell="erl -sname pillow1 -remsh pillow@localhost"
+ remote_shell="%ERL%/erl -sname pillow1 -remsh pillow@localhost"
echo "${rpc_command}" | ${remote_shell}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment