Changeset 30086 for trunk/base


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).

Location:
trunk/base/src/port1.0
Files:
2 edited

Legend:

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

    r30085 r30086  
    4747options startupitem.name startupitem.start startupitem.stop startupitem.restart
    4848options startupitem.type startupitem.executable
    49 options startupitem.pidfile startupitem.logfile startupitem.logevents
     49options startupitem.pidfile startupitem.logfile startupitem.logevents startupitem.netchange
    5050commands destroot
    5151
     
    7373default startupitem.logfile     ""
    7474default startupitem.logevents   no
     75default startupitem.netchange   no
    7576
    7677set_ui_prefix
  • 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.