- make sure generated init.d script is valid shell (bash) script ... (fixes #43)
- fix wrong user instruction for installing service (thanks @davidhq at #43)
- normalize ruby compat version before setting it (user can input '2.0' now)
--no-ask
is now known as--know
- (portable) shell sub-string matching without echo
- do a service update when already installed (on windoze) + better removal
- include a service trinidad_init_service.log file of commands executed
- configure out redirection as well as pid file (+ log path) on windoze
- fix uninstall failing (alwo try supporting RH standarts)
- revised service id/name/desc configuration (to be 'more' similar on platforms)
- improved java_home detection and error message
- align with boot tag script conventions - avoid insserv: warning (#31)
- support for some detecting of JAVA_OPTS and calculating JVM memory requirements
- allow to detect 2.x ruby compat mode (JRuby >= 1.7)
- better init.d compat with other/older shells + support customizing JAVA_OPTS
- refactor init.d script - make sure -cwd $BASE_DIR happens + warn on missing base
- do not ask for ruby compat version - simply use the current one
- refactor log_file to out_file ... as it might be confusing
- decrease default stack-size 1536k should be still a very 'pessimistic' guess
- allow to configure jsvc's -wait and -keepstdin in generated init.d script
- better compatibility for upcoming Trinidad 1.5
- update commons-daemon to 1.0.15
- detect if the process is still actually running to handle starting the service after the machine was halted and restarted (#36)
- update to jruby-jsvc 0.5.1
- update to commons-daemon 1.0.13
- a better running PID ps check (fix
ps -p
without grep)
- remove JRUBY_OPTS from init.d script (#28)
- latest jruby binary compatibility
- JAVA_MEM accepted in (and converted to) -Xmx format
- JAVA_STACK accepted in (and converted to) -Xss format
- added JAVA_MEM_MIN (-Xms format)
- publicize ask= and say= (used from trinidad_init_service) (#25)
- add an --uninstall option (requested on Windows) (#22)
- make ruby binary behave like a "gemtleman" see
trinidad_init_service --help
- added possibility to specify service id and service description under windows
- ensure $PIDFILE_DIR exists and $RUN_USER has access
- fix windows option formatting with prunsrv's arguments
- detect prunsrv.exe on windows PATH
- not working arch detection on Windows + missing 32-bit prunsrv.exe
- JSVC sources packaged along the gem and compiled on demand (#6)
- improve JRuby's native path detection in generated init.d script
- make gem usable with bundler :git => paths
- do not ask for a path with $RUN_USER
- revert previous -errfile fix
- use a better procfile name (#10)
- issue on with -errfile &1 being misinterpreted (#8)
- fix bug that didn't allow to create several services with different ids.
- allow to provide a configuration file to load the options from.
- load prunsrv on Windows according with the architecture
- rebranded gem
- fix shutdown compatibility errors with Trinidad 1.2.2 and above
- fix several minor bugs
- ensure the unix script is executable by default
- generate Windows service.
- remove profile.jar from init script since it's no more bundled with JRuby
- use absolute path for configuration options
- start Trinidad from the application path
- remove init script extension
- fix several bugs
- initial release