From f246a7c329b61a72f82b4d81caaf7e3dd97f04ee Mon Sep 17 00:00:00 2001 From: Alex Belanger Date: Mon, 11 Mar 2024 19:25:44 -0400 Subject: [PATCH] Revert "Giving another try to daemon mode and StdinReader." This reverts commit 11a67540b856a5e0aeee893ba4b559cb4c7c6d34. --- k8s/deployment.yaml | 2 +- lib/PBot/Core.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/k8s/deployment.yaml b/k8s/deployment.yaml index 6d255f4b..b301ead9 100644 --- a/k8s/deployment.yaml +++ b/k8s/deployment.yaml @@ -22,7 +22,7 @@ spec: image: gcr.io/PROJECT_ID/REPOSITORY/IMAGE:GITHUB_SHA workingDir: "/opt/pbot" command: ["/opt/pbot/bin/pbot"] - args: ["data_dir=/mnt/persistent", "general.daemon=1"] + args: ["data_dir=/mnt/persistent"] volumeMounts: - mountPath: /mnt/persistent name: persistent diff --git a/lib/PBot/Core.pm b/lib/PBot/Core.pm index 3447ae66..8a437df5 100644 --- a/lib/PBot/Core.pm +++ b/lib/PBot/Core.pm @@ -199,7 +199,7 @@ sub initialize($self, %conf) { $self->{plugins} = PBot::Core::Plugins->new(pbot => $self, %conf); $self->{process_manager} = PBot::Core::ProcessManager->new(pbot => $self, %conf); $self->{select_handler} = PBot::Core::SelectHandler->new(pbot => $self, %conf); - $self->{stdin_reader} = PBot::Core::StdinReader->new(pbot => $self, %conf); + # $self->{stdin_reader} = PBot::Core::StdinReader->new(pbot => $self, %conf); $self->{webpaste} = PBot::Core::WebPaste->new(pbot => $self, %conf); # load commands in Commands directory