Sfoglia il codice sorgente

Proper OGP Namespace for Frontier Daemon

own3mall 8 anni fa
parent
commit
e0e5dd544a
3 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. 0 0
      Frontier/Daemon/OGP/Forking.pm
  2. 3 3
      ogp_agent.pl
  3. 1 1
      ogp_agent_run

+ 0 - 0
Frontier/Daemon/Forking.pm → Frontier/Daemon/OGP/Forking.pm


+ 3 - 3
ogp_agent.pl

@@ -1,7 +1,7 @@
 #!/usr/bin/perl
 #
 # OGP - Open Game Panel
-# Copyright (C) 2008 - 2014 The OGP Development Team
+# Copyright (C) 2008 - 2018 The OGP Development Team
 #
 # http://www.opengamepanel.org/
 #
@@ -25,7 +25,7 @@ use strict;
 
 use Cwd;			 # Fast way to get the current directory
 use lib getcwd();
-use Frontier::Daemon::Forking;	# Forking XML-RPC server
+use Frontier::Daemon::OGP::Forking;	# Forking XML-RPC server
 use File::Copy;				   # Simple file copy functions
 use File::Copy::Recursive
   qw(fcopy rcopy dircopy fmove rmove dirmove pathempty pathrmdir)
@@ -293,7 +293,7 @@ if(-e Path::Class::File->new(FD_DIR, 'Settings.pm'))
 	}
 }
 
-my $d = Frontier::Daemon::Forking->new(
+my $d = Frontier::Daemon::OGP::Forking->new(
 			 methods => {
 				 is_screen_running				=> \&is_screen_running,
 				 universal_start			  	=> \&universal_start,

+ 1 - 1
ogp_agent_run

@@ -244,7 +244,7 @@ update() {
 							ogpGitCleanup
 						else
 							cd ${REPONAME}-${REVISION}
-							cp -avf systemd ArmaBE Schedule Time FastDownload php-query ogp_agent.pl ogp_screenrc ogp_agent_run agent_conf.sh $AGENTDIR &> /dev/null
+							cp -avf systemd Frontier ArmaBE Schedule Time FastDownload php-query ogp_agent.pl ogp_screenrc ogp_agent_run agent_conf.sh $AGENTDIR &> /dev/null
 							if test $? -ne 0; then
 								echo "`date`: The agent files cannot be overwritten."
 								cd ..