Skip to content

Create a launchd.plist file for a Mojolicious application/Run with hypnotoad-launchd

Notifications You must be signed in to change notification settings

kiwiroy/mojolicious-command-author-generate-launchd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status Kritika Analysis Status

NAME

hypnotoad-launchd - Hypnotoad HTTP and WebSocket server managed by launchd

SYNOPSIS

Usage: hypnotoad-launchd [OPTIONS] [APPLICATION]

  hypnotoad-launchd ./script/my_app
  hypnotoad-launchd ./myapp.pl
  hypnotoad-launchd -s ./myapp.pl
  hypnotoad-launchd -t ./myapp.pl

Options:
  -h, --help         Show this message
  -a, --auto         Enable the autorestarting feature (not supported)
  -s, --stop         Stop server gracefully
  -t, --test         Test application and exit

DESCRIPTION

Start Mojolicious and Mojolicious::Lite applications with the Hypnotoad web server in a method that is managed by launchd/launchctl.

Essentially, this is a controller script for hypnotoad that runs in the foreground utilising the code from Mojo::Server::Hypnotoad and Mojo::Server::Prefork. Identical signals are handled and proxied to the daemonized instance of hypnotoad as required.

SEE ALSO

Mojolicious, Mojolicious::Guides, https://mojolicious.org, daemondo from macports.

About

Create a launchd.plist file for a Mojolicious application/Run with hypnotoad-launchd

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages