Skip to content

Commit

Permalink
Only allow start start_cmd for mix releases
Browse files Browse the repository at this point in the history
  • Loading branch information
David Staehler committed Sep 9, 2019
1 parent 3c0c768 commit 6e9eb9d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mix/tasks/systemd.ex
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,8 @@ defmodule Mix.Tasks.Systemd do
], cfg)
end

defp start_command(service_type)
defp start_command(:forking), do: "daemon"
# defp start_command(service_type)
# defp start_command(:forking), do: "daemon"
defp start_command(_), do: "start"

defp exec_start_wrap(""), do: ""
Expand Down

0 comments on commit 6e9eb9d

Please # to comment.