jifty server --port 6666
jifty server --stop
DESCRIPTIONStarts and stops Jifty's standalone web server.
- The port to run the server on. Overrides the port in the config file, if it is set there. The default port is 8888.
- --user USER
- The user to become after binding to the port. It is advised that you use this when binding to low ports, instead of running as "root". This option only works if the server is using a Net::Server subclass.
- --group GROUP
- The group to become after binding to the port. Like "--user", this option only works if the server is using a Net::Server subclass.
- --host HOSTNAME
- The host to bind to. This option only works if the server is using a Net::Server subclass.
- Stops the server, if it is running. This is accomplished by reading the PID from "var/jifty-server.pid"
- restart the server, if it is running. This is accomplished by killing the child pid, and let parent pid create a new one
- --sigready SIGNAL
- Sets the signal number that should be sent to the server's parent process when the server is ready to accept connections.
- Reduces the amount of debug output sent by the server
- Turns on DBI profiling; see DBI::ProfileDumper.
- Print a brief help message and exits.
- Prints the manual page and exits.
DESCRIPTIONWhen you're getting started with Jifty, this is the server you want. It's lightweight and easy to work with.
run"run" takes no arguments, but starts up a Jifty server process for you.