Jetty

Make startup script work without start-stop-daemon

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 6.1.7
  • Component/s: None
  • Labels:
    None
  • Patch Submitted:
    Yes
  • Number of attachments :
    1

Description

/bin/jetty.sh doesn't work 100% without start-stop-daemon.

Attached is a diff against rev 2204 which:
1. Suppresses the error message when "which start-stop-daemon" doesn't find anything
2. Uses su to switch user so JETTY_USER works even if start-stop-daemon isn't found
3. Waits in a loop for the process to exit when stopping Jetty.

Activity

Hide
Greg Wilkins added a comment -

Brilliant!

Show
Greg Wilkins added a comment - Brilliant!

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: