mix_systemd v0.1.0 mix systemd.generate View Source

Create systemd unit files for Elixir project.

Command line options

  • --version - selects a specific app version

Usage

# Create systemd unit files with MIX_ENV=dev (the default)
mix systemd.generate

# Create unit files for prod
MIX_ENV=prod mix systemd.generate

Link to this section Summary

Functions

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

Link to this section Functions

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

Callback implementation for Mix.Task.run/1.