IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24409


Ignore:
Timestamp:
Jun 15, 2009, 12:50:58 PM (17 years ago)
Author:
jhoblitt
Message:

add retry param to rc file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous-Server/bin/nebdiskd

    r24408 r24409  
    3333    $user,
    3434    $group,
     35    $retry,
    3536);
    3637
     
    4445    'pidfile=s'     => \$pidfile,
    4546    'restart|r'     => \$restart,
     47    'retry=d'       => \$retry,
    4648    'stop|s'        => \$stop,
    4749    'user=s'        => \$user,
     
    6365$user       ||= $c->get_user    || $<; # user
    6466$group      ||= $c->get_group   || $); # group
     67$retry      ||= $c->get_retry   || 1;
    6568
    6669my $mounts = $c->get_mounts;
     
    7881$c->set_pidfile($pidfile);
    7982$c->set_poll_interval($poll_interval);
     83$c->set_retry($retry);
    8084$c->write;
    8185
     
    139143                poll_interval   => $poll_interval,
    140144                debug           => $debug,
    141                 retry           => 3,
     145                retry           => $retry,
    142146        );
    143147    };
Note: See TracChangeset for help on using the changeset viewer.