diff --git a/conf/systemd.service b/conf/systemd.service index 509085e..03754c5 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -7,7 +7,7 @@ Environment="MIX_ENV=prod" User=__APP__ WorkingDirectory=__FINALPATH__/__APP__ Environment="HOME=__FINALPATH__" -ExecStart=/usr/local/bin/mix phx.server +ExecStart=/usr/bin/mix phx.server ExecReload=/bin/kill $MAINPID KillMode=process Restart=on-failure