[erlang-questions] Start me up.
Wed Nov 15 07:16:16 CET 2006
I have what I would call an application or program (from the Linux point of
view) written in Erlang. It is also an Erlang application . I can start
and stop my app just fine from the Erlang prompt but people don't live in
Erlang prompts and the init scripts of most OSs expects an actual program
in /usr/bin or similar and not just an Erlang function.
That means I ended up writing a script to wrap the Erlang function into
something that is friendly with the OS. That means the script ended having a
configuration file which means the script has to be processed with
sed to perform some string replacements.
Isn't there a better alternative ? this really, really sucks.
Pupeno <> (http://pupeno.com)
 Some Erlang applications are also just libs from a Linux point of view.
 line 8 on http://software.pupeno.com/FanterlasticFour/scripts/Makefile.am
 line 23 on the script
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the erlang-questions