#!/usr/local/cpanel/3rdparty/bin/perl

package scripts::cpanel_dovecot_solr_commit;

# cpanel - scripts/cpanel_dovecot_solr_commit          Copyright 2017 cPanel, Inc.
#                                                           All Rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited

=encoding utf-8

=head1 NAME

cpanel_dovecot_solr_commit

=head1 SYNOPSIS

    cpanel_dovecot_solr_commit

=head1 DESCRIPTION

This script performs solr commits

=cut

use strict;
use warnings;

use lib qw( /var/cpanel/perl );

use Cpanel::Dovecot::Solr::Utils ();

our $VERSION = '1.1';

__PACKAGE__->run(@ARGV) unless caller();

sub run {
    my ($self) = @_;

    Cpanel::Dovecot::Solr::Utils::call_commit();

    return 0;
}

1;
