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
Link to this section Functions
Link to this function
run(args)
View Source
run(args)
View Source
run(OptionParser.argv()) :: no_return()
run(OptionParser.argv()) :: no_return()
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.