summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaindropsSys <raindrops@equestria.dev>2024-01-28 09:17:55 +0100
committerRaindropsSys <raindrops@equestria.dev>2024-01-28 09:17:55 +0100
commit23c244e3058981f475576e13be1677e4aaf98195 (patch)
tree65e44cbab31684104e55f2bcdc0bf13fcb895608
parent2b192b3840ac344c456b98304ea400f0af90da15 (diff)
downloadpluralconnect-23c244e3058981f475576e13be1677e4aaf98195.tar.gz
pluralconnect-23c244e3058981f475576e13be1677e4aaf98195.tar.bz2
pluralconnect-23c244e3058981f475576e13be1677e4aaf98195.zip
Updated includes/jobs/PKFronters.php (automated)
-rw-r--r--includes/jobs/PKFronters.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/jobs/PKFronters.php b/includes/jobs/PKFronters.php
index 2dfac45..a9a4319 100644
--- a/includes/jobs/PKFronters.php
+++ b/includes/jobs/PKFronters.php
@@ -43,6 +43,6 @@ if (trim($data) !== "" && $data !== false && json_last_error() === JSON_ERROR_NO
echo("Running Signal integration...\n");
chdir("/opt/peh/includes/external/signal");
-exec("nice -n 19 node index.js raindrops");
-exec("nice -n 19 node index.js moonglow");
-exec("nice -n 19 node index.js other"); \ No newline at end of file
+if ($system === "gdapd") exec("nice -n 19 node index.js raindrops");
+if ($system === "hrbom") exec("nice -n 19 node index.js moonglow");
+if ($system !== "gdapd" && $system !== "hrbom") exec("nice -n 19 node index.js other"); \ No newline at end of file