NAME
XAS::Lib::App::Service::Win32 - A mixin class for Win32 Services
SYNOPSIS
use XAS::Class
debug => 0,
version => $VERSION,
base => 'XAS::Lib::App::Service',
mixin => 'XAS::Lib::App::Service::Win32',
constants => 'TRUE FALSE',
filesystem => 'File',
accessors => 'daemon service pid',
;
DESCRIPTION
This module provides a mixin class to define the necessary functionality for a Service to run on Win32.
METHODS
define_daemon
This method does nothing on Win32.
get_service_config
This method defines how the service is configured. This is used with the --install and --deinstall command line options. See Win32::Daemon for more details.
install_service
This method will install the service with the SCM.
remove_service
This method will deinstall the service for the SCM.
SEE ALSO
AUTHOR
Kevin L. Esteb, <kevin@kesteb.us>
COPYRIGHT AND LICENSE
Copyright (C) 2014 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.