mirror of
https://github.com/weewx/weewx.git
synced 2026-04-18 16:46:56 -04:00
avoid starting weewx multiple times on redhat
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user