The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Ixchel::Actions::systemd_journald_conf - Generate a systemd journald config include.

VERSION

Version 0.2.0

CLI SYNOPSIS

ixchel -a systemd_journald_conf

ixchel -a systemd_journald_conf -w [--np] [--die]

CODE SYNOPSIS

    use Data::Dumper;

    my $results=$ixchel->action(action=>'systemd_journald_conf', opts=>{np=>1, w=>1, });

DESCRIPTION

This takes .config.systemd.journald and generates a config that can be used with journald.

So if you would like to disable forward to wall, you can set .systemd.journald.ForwardToWall=no and it will generate the following...

    [Journal]
    ForwardToWall=no

Switches

-w

Write it out to /etc/systemd/journald.conf.d/99-ixchel.conf

--np

Do not print out the results.

RESULT HASH REF

    .errors :: A array of errors encountered.
    .status_text :: A string description of what was done and the results.
    .ok :: Set to zero if any of the above errored.
    .filled_in :: The filled in template.