Procházet zdrojové kódy

Updated to work with Drush Daemon API (drushd)

Lacey Sanderson před 10 roky
rodič
revize
39af880607

+ 1 - 1
tripal_daemon/README.txt

@@ -32,7 +32,7 @@ REQUIREMENTS
  * Libraries API (https://www.drupal.org/project/libraries)
  * PHP-Daemon Library version 2.0 (https://github.com/shaneharter/PHP-Daemon)
  * Drush 5.x (https://github.com/drush-ops/drush)
- * Daemon API (https://www.drupal.org/sandbox/laceysanderson/2311987)
+ * Drush Daemon API (https://www.drupal.org/project/drushd)
 
 INSTALLATION
 ------------

+ 1 - 1
tripal_daemon/TripalDaemon.inc

@@ -11,7 +11,7 @@
  * It extends the DaemonAPIDaemon class provided by the Daemon API in order
  * to implement tripal job checking and execution functionality.
  */
-class TripalDaemon extends DaemonAPIDaemon {
+class TripalDaemon extends DrushDaemon {
 
   // OPTIONAL: Set how often in seconds your executeTask() should be called.
   // Keep in mind that this time does not include the amount of time spent

+ 1 - 1
tripal_daemon/tripal_daemon.drush.inc

@@ -61,5 +61,5 @@ function tripal_daemon_drush_command() {
  *   you want the daemon to do.
  */
 function drush_tripal_daemon_tripal_jobs_daemon($action) {
-  drush_daemon_api_daemon($action, 'tripal_daemon');
+  drush_drushd_daemon($action, 'tripal_daemon');
 }

+ 1 - 1
tripal_daemon/tripal_daemon.info

@@ -3,7 +3,7 @@ description = Creates a Daemon to run Tripal Jobs as they are submitted.
 core = 7.x
 package = Tripal Extensions
 
-dependencies[] = daemon_api
+dependencies[] = drushd
 dependencies[] = tripal_core
 
 files[] = TripalDaemon.inc