- SEE ALSO
- COPYRIGHT AND LICENSE
XAS::Lib::App::Service - The base class to write services within the XAS environment
use XAS::Lib::App::Service; my $service = XAS::Lib::App::Service->new(); $service->run();
This module defines an operating environment for Services. A service is a managed daemon. They behave differently depending on what platform they are running on. On Windows, they will run under the SCM, on Unix like boxes, they may be standalone daemons. These differences are handled by mixins.
The proper mixin is loaded when the process starts, so all the interaction happens in the background. It inherits from XAS::Lib::App. Please see that module for additional documentation.
This module handles these additional options.
This defines a configuration file.
This defines the pid file to use.
This will install the service with the Win32 SCM.
This will deinstall the service from the Win32 SCM.
Kevin L. Esteb, <firstname.lastname@example.org>
Copyright (c) 2012-2015 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.