From 6e9eb9db14a0bcf40642ea78d921efd368d9982d Mon Sep 17 00:00:00 2001 From: David Staehler Date: Tue, 10 Sep 2019 10:22:43 +1200 Subject: [PATCH] Only allow start start_cmd for mix releases --- lib/mix/tasks/systemd.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/mix/tasks/systemd.ex b/lib/mix/tasks/systemd.ex index 44883e1..6f2639e 100644 --- a/lib/mix/tasks/systemd.ex +++ b/lib/mix/tasks/systemd.ex @@ -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: ""