Two days is hardly "no response", especially when my baby daughter had a big day today.
I'll look at your submission during this coming week. Please be patient. Andy On Sunday 05 August 2007 15:23:16 Daniel Dvořák wrote: > I have no response, so I try to send to public. > > > > _____ > > From: Daniel Dvořák [mailto:[EMAIL PROTECTED] > Sent: Friday, August 03, 2007 11:09 PM > To: '[EMAIL PROTECTED]' > Subject: FreeBSD Port: uptimed-0.3.7 > > > > Hi Andy, > > > > I ask you about updating uptimed to the last release 0.3.11. > > > > Radek P. is my friend and I show him what the startting script in fbsd > porttree is, he was surprised a little bit about older our 0.3.7 release. > > > > The main problem is with pid file and uptimed.sh script as whole. > > > > See this: > > > > # /etc2/rc.d/uptimed.sh stop > > # /etc2/rc.d/uptimed.sh start > > uptimeduptimed is already running. > > # /etc2/rc.d/uptimed.sh stop > > # ps aux | grep "uptimed" > > root 91399 0,0 0,8 1564 948 p0 R+ 10:04od 0:00,03 grep uptimed > > # /etc2/rc.d/uptimed.sh start > > uptimeduptimed is already running. > > # ps aux | grep "uptimed" > > root 91406 0,0 0,7 1548 872 p0 R+ 10:05od 0:00,02 grep uptimed > > > > I had to use „killall uptimed“ to really stop it. > > > > This is our latest script: > > > > #!/bin/sh > > case "$1" in > > start) > > echo -n ' uptimed' > > /usr/local/sbin/uptimed > > ;; > > stop) > > ;; > > restart) > > ;; > > *) > > echo "Usage: ${0##*/}: { start | stop | restart }" 2>&1 > > exit 65 > > ;; > > esac > > > > > > And Radek has in his sources this much newer code with status. To be > perfect it should have rcvar option. > > > > http://hg.podgorny.cz/uptimed/file/ccbad14594ae/etc/rc.uptimed > > > > case "$1" in > 69 start) > 70 start > 71 ;; > 72 stop) > 73 stop > 74 ;; > 75 restart) > 76 stop > 77 start > 78 ;; > 79 createbootid) > 80 createbootid > 81 ;; > 82 status) > 83 showstatus > 84 ;; > 85 *) > 86 echo $"Usage: $0 {start|stop|restart|createbootid|status}" > 87 RETVAL=1 > 88esac > 89exit $RETVAL > > > > > > I think this code above is good point to start and adjust our modern > uptimed startting script with rc rules for our needs. > > > > I ask you more than I could, becuse my contribution is almost none, but at > least new modern startting script with whole status and rcvar stuff under > new rc rules would be great. > > > > Perhaps I do not bother you more than necessary. > > > > Thanks > > > > Bye > > > > Dan > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "[EMAIL PROTECTED]" -- Andy Fawcett | [EMAIL PROTECTED] | [EMAIL PROTECTED] "In an open world without walls and fences, | [EMAIL PROTECTED] we wouldn't need Windows and Gates." -- anon | [EMAIL PROTECTED] _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"