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_auto_list - List systemd auto generated services.

VERSION

Version 0.2.0

CLI SYNOPSIS

ixchel -a <systemd_auto_list>

CODE SYNOPSIS

    use Data::Dumper;

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

    if ($results->{ok}) {
        print 'Service: '.joined(', ', @{ $results->{services} })."\n";
    }else{
        die('Action errored... '.joined("\n", @{$results->{errors}}));
    }

DESCRIPTION

Returns configured automatically generated systemd units.

SWITCHES

--np

Do not print anything. For use if calling this directly instead of via the cli tool.

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.
    .services :: A array of services.