| Summary: | Cannot restart net-im/openfire from cron | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Ports & Packages | Reporter: | admin | ||||||
| Component: | Individual Port(s) | Assignee: | Tom McLaughlin <tmclaugh> | ||||||
| Status: | Closed FIXED | ||||||||
| Severity: | Affects Only Me | ||||||||
| Priority: | Normal | ||||||||
| Version: | Latest | ||||||||
| Hardware: | Any | ||||||||
| OS: | Any | ||||||||
| Attachments: |
|
||||||||
|
Description
admin
2008-04-14 06:30:01 UTC
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool) I want to confirm the second problem the attached patch should fix it. However i can't confirm the first one. The deafult crontab do contain the required PATH at least for the last 7 years. See the: http://www.freebsd.org/cgi/cvsweb.cgi/src/etc/crontab -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ====================================================================== may be you test before send ansver? string: 3 15 * * * env; /usr/local/etc/rc.d/openfire stop && sleep 10 && /usr/local/etc/rc.d/openfire start to root come mail contains: USER=root HOME=/root LOGNAME=root PATH=/usr/bin:/bin SHELL=/bin/sh Stopping openfire. Waiting for PIDS: 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544. chown: not found On Monday 14 April 2008 14:06:22 Alex Keda wrote: > may be you test before send ansver? > > string: > 3 15 * * * env; > /usr/local/etc/rc.d/openfire stop && sleep 10 && > /usr/local/etc/rc.d/openfire start to root come mail contains: > USER=root > HOME=/root > LOGNAME=root > PATH=/usr/bin:/bin > SHELL=/bin/sh > Stopping openfire. > Waiting for PIDS: 73544, 73544, 73544, 73544, 73544, 73544, 73544, > 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, 73544, > 73544. chown: not found Ok. We've discussed the issue with Alex at private email and the conclusion is that my patch for the second problem is reasonable. The first problem is not related to my rc script. It is related to how cron manage personal crontab files in /var/cron/tabs Edwin please commit my patch-2.diff -- ====================================================================== - Best regards, Nikolay Pavlov. <<<----------------------------------- ====================================================================== State Changed From-To: feedback->closed I've commited the second patch. Thanks. Responsible Changed From-To: freebsd-ports-bugs->tmclaugh tmclaugh 2008-04-18 01:58:48 UTC
FreeBSD ports repository
Modified files:
net-im/openfire Makefile
net-im/openfire/files openfire.in
Log:
Fix startup script so openfire_javargs are respected.
PR: 122741
Approved by: maintainer
Revision Changes Path
1.17 +1 -1 ports/net-im/openfire/Makefile
1.3 +2 -1 ports/net-im/openfire/files/openfire.in
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
|