Bug 151709 - [patch] www/tomcat6 rc.d script status command
Summary: [patch] www/tomcat6 rc.d script status command
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Alex Dupre
Depends on:
Reported: 2010-10-25 06:40 UTC by alex.deiter
Modified: 2010-10-26 09:20 UTC (History)
0 users

See Also:

file.diff (569 bytes, patch)
2010-10-25 06:40 UTC, alex.deiter
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description alex.deiter 2010-10-25 06:40:08 UTC

status/poll command don't work for www/tomcat6:

# /usr/local/etc/rc.d/tomcat6 start
Starting tomcat60.

# /usr/local/etc/rc.d/tomcat6 status
==>no any output here <==

# /usr/local/etc/rc.d/tomcat6 poll
==>no any output here <==

# /usr/local/etc/rc.d/tomcat6 stop
Stopping tomcat60.
Waiting (max 60 secs) for PIDS: 73398.

Please review small patch for rc.d script.

Fix: Please review small patch for rc.d script:

# /usr/local/etc/rc.d/tomcat6 start
Starting tomcat60.

# /usr/local/etc/rc.d/tomcat6 status
tomcat60 is running as pid 75572.

# /usr/local/etc/rc.d/tomcat6 poll
Waiting for PIDS: 75572, 75572, 75572, 75572^C

# /usr/local/etc/rc.d/tomcat6 stop
Stopping tomcat60.
Waiting (max 60 secs) for PIDS: 75572.

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/www/tomcat6 && make install
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2010-10-25 23:03:04 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Fix synopsis and assign.
Comment 2 dfilter service freebsd_committer 2010-10-26 09:19:09 UTC
ale         2010-10-26 08:19:05 UTC

  FreeBSD ports repository

  Modified files:
    www/tomcat6          Makefile 
    www/tomcat6/files    tomcat6.sh.in 
  Print informative text on status and poll commands.
  PR:             ports/151709
  Submitted by:   Alex Deiter <alex.deiter@gmail.com>
  Revision  Changes    Path
  1.59      +1 -0      ports/www/tomcat6/Makefile
  1.9       +13 -5     ports/www/tomcat6/files/tomcat6.sh.in
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alex Dupre freebsd_committer 2010-10-26 09:19:26 UTC
State Changed
From-To: open->closed

Fixed, thanks!