diff --git a/cpanel/admin/Gniza/Restore b/cpanel/admin/Gniza/Restore index f1a1ea6..50d63cf 100644 --- a/cpanel/admin/Gniza/Restore +++ b/cpanel/admin/Gniza/Restore @@ -1,3 +1,4 @@ +#!/usr/local/cpanel/3rdparty/bin/perl package Cpanel::AdminBin::Script::Call::Gniza::Restore; use strict; @@ -6,6 +7,8 @@ use parent 'Cpanel::AdminBin::Script::Call'; use IPC::Open3; use Symbol 'gensym'; +__PACKAGE__->run() if !caller; + my $GNIZA_BIN = '/usr/local/bin/gniza'; my $MAIN_CONFIG = '/etc/gniza/gniza.conf'; my $REMOTES_DIR = '/etc/gniza/remotes.d';