NAME
rdf-server - standalone RDF server daemon
SYNOPSIS
rdf-server -configfile path/to/config {stop|start|status|restart}
DESCRIPTION
This script manages an RDF::Server process based on the configuration in the supplied file.
The configuration file can be in any format understood by Config::Any. See Config::Any for a list of those formats.
CONFIGURATION
The following configuration parameters are understood by the rdf-server script. Additional configuration information may be used based on which protocol, interface, and semantic roles are loaded. See the documentation for those roles for additional configuration parameters.
The listed values are those which may be selected from the base RDF::Server distribution. Additional roles may be installed and used.
- protocol
-
This is a string specifying which protocol role to load: HTTP or FCGI. The rdf-server script expects the protocol to use the MooseX::Daemonize role for controlling the resulting server.
- interface
-
This is a string specifying which interface role to load: REST.
- semantic
-
This is a string specifying which semantic role to load: Atom or RDF.
- roles
-
This is a list of strings specifying additional Moose-based roles to load.
- renderers
-
This is a hash mapping the file extension to the formatting module.
The script expects the server to respond to the same methods and configuration as MooseX::Daemonize. Common and useful configuration parameters for MooseX::Daemonize are:
- pidfile
-
The name of the file in which we store the PID of the running service.
- foreground
-
A boolean value indicating if we should not fork and run in the background. If true, the process will remain in the foreground. Useful for debugging.
BUGS
There are bugs. The test suite only covers a little over 90% of the code. Bugs may be reported on rt.cpan.org or by e-mailing bug-RDF-Server at rt.cpan.org.
AUTHOR
James Smith, <jsmith@cpan.org>
LICENSE
Copyright (c) 2008 Texas A&M University.
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.