Location of mix changed.
authorLuke Hoersten <luke@hoersten.org>
Sat, 19 Jan 2019 13:45:58 -0600
changeset 74 dc20ec78acdd
parent 73 3e6344570822
child 75 d8c87a41cc6d
Location of mix changed.
roles/pleroma/tasks/main.yaml
roles/pleroma/templates/pleroma.service.j2
--- a/roles/pleroma/tasks/main.yaml	Sat Jan 19 13:32:43 2019 -0600
+++ b/roles/pleroma/tasks/main.yaml	Sat Jan 19 13:45:58 2019 -0600
@@ -61,7 +61,7 @@
     - "mix local.hex --force"
     - "mix local.rebar --force"
     - "mix deps.get"
-    # - "mix ecto.migrate"
+    - "mix ecto.migrate"
   notify: restart pleroma
   environment:
     MIX_ENV: "prod"
--- a/roles/pleroma/templates/pleroma.service.j2	Sat Jan 19 13:32:43 2019 -0600
+++ b/roles/pleroma/templates/pleroma.service.j2	Sat Jan 19 13:45:58 2019 -0600
@@ -10,7 +10,7 @@
 Environment="HOME=/home/{{pleroma_user}}"
 Environment="MIX_ENV=prod"
 Environment="PLUG_TMPDIR=/tmp/{{pleroma_user}}"
-ExecStart=/usr/local/bin/mix phx.server
+ExecStart=/usr/bin/mix phx.server
 ExecReload=/bin/kill $MAINPID
 KillMode=process
 Restart=on-failure