NAME

XAS::Apps::Init - A class for the XAS environment

SYNOPSIS

use XAS::Apps::Init ;

my $app = XAS::Apps::Init->new(
    -throws   => 'xas-init',
    -priority => 'low',
    -facility => 'system',
);

exit $app->run;

DESCRIPTION

The procedure will check and create /var/run/xas and /var/lock/xas. This is needed on systemd systems. On systemd systems, these directories are mounted on filesystems the use tmpfs. So a system reboot removes them.

METHODS

main

This method will start the processing.

SEE ALSO

XAS

AUTHOR

Kevin L. Esteb, <kevin@kesteb.us>

COPYRIGHT AND LICENSE

Copyright (c) 2012-2017 Kevin L. Esteb

This is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0. For details, see the full text of the license at http://www.perlfoundation.org/artistic_license_2_0.