Revert "Move the environment variables to an EnvironmentFile"

This reverts commit 79023a65f2.
This commit is contained in:
Greg Karékinian
2019-04-23 14:12:16 +02:00
parent ecf5870195
commit f5051d6352
2 changed files with 9 additions and 19 deletions

View File

@@ -6,7 +6,9 @@ ExecStart=<%= @entry %>
WorkingDirectory=<%= @app_dir %>
User=<%= @user %>
Group=<%= @group %>
EnvironmentFile=<%= @environment_file %>
<% unless @environment.empty? -%>
Environment=<% @environment.each do |key, value| -%>'<%= key %>=<%= value %>' <% end %>
<% end -%>
Restart=always
[Install]