Changeset 4212

Show
Ignore:
Timestamp:
02/27/09 23:21:42 (4 years ago)
Author:
gpolo
Message:

Setting service path

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/umit_scheduler.py

    r4206 r4212  
    9292 
    9393def main(args, verbose=True): 
     94    schedcontrol = Scheduler.SchedulerControl(RUNNING_FILE, HOME_CONF, 
     95            verbose, UMITSchedulerWinService, __file__) 
    9496    # Quoting paths since they may contain spaces 
    95     UMITSchedulerWinService._exe_args_ = '"%s" "%s"' % (sys.path[0], HOME_CONF) 
     97    UMITSchedulerWinService._exe_args_ = '"%s" "%s"' % ( 
     98            sys.path[0], schedcontrol.home_conf) 
    9699 
    97     schedcontrol = Scheduler.SchedulerControl(RUNNING_FILE, HOME_CONF, 
    98             verbose, UMITSchedulerWinService) 
    99100    cmds = {"start": schedcontrol.start, 
    100101            "stop": schedcontrol.stop,