3
0
mirror of https://github.com/pragma-/pbot.git synced 2025-07-06 13:37:28 +02:00

Revert "Giving another try to daemon mode and StdinReader."

This reverts commit 11a67540b856a5e0aeee893ba4b559cb4c7c6d34.
This commit is contained in:
Alex Belanger 2024-03-11 19:25:44 -04:00
parent 11a67540b8
commit f246a7c329
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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