#1864 - better launch script for WildFly

Tested on Linux but not Mac as I don't have one available