Skip to content

Commit

Permalink
Store journalctl logs even for new agama-dbus-monitor
Browse files Browse the repository at this point in the history
  • Loading branch information
mchf committed Nov 28, 2024
1 parent 2f1a2bf commit 27bb3ef
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rust/agama-lib/src/logs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,12 @@ use std::process::Command;
use tempfile::TempDir;
use utoipa::ToSchema;

const DEFAULT_COMMANDS: [(&str, &str); 5] = [
const DEFAULT_COMMANDS: [(&str, &str); 6] = [
// (<command to be executed>, <file name used for storing result of the command>)
("journalctl -u agama", "agama"),
("journalctl -u agama-auto", "agama-auto"),
("journalctl -u agama-web-server", "agama-web-server"),
("journalctl -u agama-dbus-monitor", "agama-dbus-monitor"),
("journalctl --dmesg", "dmesg"),
("rpm -qa", "rpm-qa"),
];
Expand Down

0 comments on commit 27bb3ef

Please sign in to comment.