diff --git a/bin/daemon.php b/bin/daemon.php index 8f567edfb7..499bbc5d9b 100755 --- a/bin/daemon.php +++ b/bin/daemon.php @@ -5,6 +5,8 @@ * SPDX-FileCopyrightText: 2010-2024 the Friendica project * * SPDX-License-Identifier: AGPL-3.0-or-later + * + * @deprecated 2025.01 use bin/console.php daemon instead */ /** diff --git a/bin/jetstream.php b/bin/jetstream.php index c696d044b9..f1834c783b 100755 --- a/bin/jetstream.php +++ b/bin/jetstream.php @@ -6,6 +6,7 @@ * * SPDX-License-Identifier: AGPL-3.0-or-later * + * @deprecated 2025.01 use bin/console.php jetstream instead */ use Dice\Dice; diff --git a/src/Console/Daemon.php b/src/Console/Daemon.php index c2f1029e4a..6b1476a52e 100644 --- a/src/Console/Daemon.php +++ b/src/Console/Daemon.php @@ -90,6 +90,10 @@ HELP; protected function doExecute() { + if ($this->executable != 'bin/console.php') { + $this->out(sprintf("Deprecated use of '%s', use '%s daemon' instead", $this->executable, 'bin/console.php')); + } + if ($this->mode->isInstall()) { throw new RuntimeException("Friendica isn't properly installed yet"); } diff --git a/src/Console/JetstreamDaemon.php b/src/Console/JetstreamDaemon.php index 8dd726f4b9..2d591d52d9 100644 --- a/src/Console/JetstreamDaemon.php +++ b/src/Console/JetstreamDaemon.php @@ -77,6 +77,10 @@ HELP; protected function doExecute() { + if ($this->executable != 'bin/console.php') { + $this->out(sprintf("Deprecated use of '%s', use '%s jetstream' instead", $this->executable, 'bin/console.php')); + } + if ($this->mode->isInstall()) { throw new RuntimeException("Friendica isn't properly installed yet"); }