[ 
http://jira.codehaus.org/browse/MOJO-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_106028
 ] 

Trygve Laugstol commented on MOJO-902:
--------------------------------------

How about supporting something like envdir [1] to configure JAVA_HOME and USER? 
The generated shell script can set default at least if a proper /bin/bash is 
used (and not /bin/sh).

[1]: http://cr.yp.to/daemontools/envdir.html


> DaemonTools generated configuration
> -----------------------------------
>
>                 Key: MOJO-902
>                 URL: http://jira.codehaus.org/browse/MOJO-902
>             Project: Mojo
>          Issue Type: New Feature
>          Components: appassembler
>         Environment: Any unix environment with daemontools installed
>            Reporter: Andrew Williams
>         Attachments: appassembler-daemontools.patch
>
>
> Added a new DaemonTools generator, creates all the configuration needed to 
> hook into daemontools (though editing JAVA_HOME and USER might be required 
> before runtime ;)
> just ln -s $PWD/target/generated-resource/daemontools/ /services/appname
> It does require that the ID of the daemon configuration matches that of the 
> application it is launching - is this a poor constraint?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to