relay.js
function restartRelay(cb) {
        var self = this;
        this.stop(function (err) {
            if (err) {
                return cb(err);
            }
            self.start(cb);
        });
    }
function restartRelay(cb) {
        var self = this;
        this.stop(function (err) {
            if (err) {
                return cb(err);
            }
            self.start(cb);
        });
    }
function restartRelay ( cb ) { var self = this ; this . stop ( function ( err ) { if ( err ) { return cb ( err ) ; } self . start ( cb ) ; } ) ; }
Stop and start relay
@param {TorRelay~startCallback} cb
Stop and start relay