Joshua Parker Ruehlig
Hall of Famer
- Joined
- Dec 5, 2011
- Messages
- 5,949
This?
I have no idea how to read it, it's clearly meant to be parsed and filled in before use. I don't know how to interpret %%JAVA_CMD%% for instance.
yeah, cause when I build my port it gets parsed. %%JAVA_CMD%%=/usr/local/openjdkX/bin/java
I assume you would just have
Code:
command="/usr/local/bin/mono" command_args="whatever.exe >$LOGFILE 2>&1 &"
The '>LOGFILE 2>&1 &' would redirect the errors and output to a logfile instead of the terminal
if you define a pidfile (which I see you already did), all of your functions (pre/post)start, (pre/post) stop, would be done by the subroutines that the init system provides.