Ignore:
Timestamp:
Oct 19, 2007, 11:44:14 AM (12 years ago)
Author:
nox@…
Message:

port1.0/startupitem (closes #12931): Added daemondo --restart-netchange flag (bool startupitem.netchange).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portstartupitem.tcl

    r30006 r30086  
    386386    global startupitem.name startupitem.requires startupitem.init
    387387    global startupitem.start startupitem.stop startupitem.restart startupitem.executable
    388     global startupitem.pidfile startupitem.logfile startupitem.logevents
     388    global startupitem.pidfile startupitem.logfile startupitem.logevents startupitem.netchange
    389389
    390390    set scriptdir ${prefix}/etc/startup
     
    502502        close ${item}
    503503    }
    504        
     504   
     505    if {[tbool startupitem.netchange]} {
     506        lappend args "--restart-netchange"
     507    }
     508   
    505509    # To log events then tell daemondo to log at verbosity=1
    506510    if { [tbool startupitem.logevents] } {
Note: See TracChangeset for help on using the changeset viewer.