on_maintenance v0.5.2 Mix.Tasks.Maintenance.InitConfigStore

Creates “.on_maintenance.sqlite3” database which contains only 1 table. The table, named “on_maintenance_configs”, is initialized with 1 row of data:

  • 0 value for on_maintenance means the application is not in maintenance mode.
  • 1 value for retry_after no retry-after header for 503 response.

Example

mix maintenance.init_config_store

Summary

Functions

A task needs to implement run which receives a list of command line args

Functions

run(argv)

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.