Ignore:
Timestamp:
2012-05-03T19:19:22+02:00 (4 years ago)
Author:
jow
Message:

[package] uhttpd: display errors in init script, code formatting changes, bump package version

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/uhttpd/files/uhttpd.init

    r28841 r31572  
    109109        SERVICE_PID_FILE=/var/run/uhttpd_${cfg}.pid 
    110110        service_start $UHTTPD_BIN -f $UHTTPD_ARGS 
     111 
     112        # Check if daemon is running, if not then 
     113        # re-execute in foreground to display error. 
     114        sleep 1 && service_check $UHTTPD_BIN || \ 
     115                $UHTTPD_BIN -f $UHTTPD_ARGS 
    111116} 
    112117 
Note: See TracChangeset for help on using the changeset viewer.