avoid starting weewx multiple times on redhat

This commit is contained in:
Matthew Wall
2013-02-03 16:03:01 +00:00
parent 39185788b3
commit bd44b3c19c
2 changed files with 2 additions and 2 deletions

View File

@@ -1,4 +1,4 @@
* Sun 03 Feb 2013 Matthew Wall <mwall@users.sourceforge.net> - 2.2.0a3-1
* Sun Feb 03 2013 Matthew Wall <mwall@users.sourceforge.net> - 2.2.0a3-1
- removed apache dependencies
- put generated html in /var/www/html/weewx
* Mon Jan 28 2013 Matthew Wall <mwall at users.sourceforge.net> - 2.2.0a2-1

View File

@@ -29,7 +29,7 @@ case "$1" in
start)
# Start daemon.
echo -n $"Starting weewx: "
daemon $WEEWX_BIN $DAEMON_ARGS
daemon --pidfile $PIDFILE $WEEWX_BIN $DAEMON_ARGS
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch $LOCKFILE