[systemd-devel] Unable to get Systemd to work with Phoenix/Elixir Exrm Release

Michael Chavez bigbassroller at gmail.com
Thu Jul 7 15:01:43 UTC 2016


Thanks for the reply. I added "Type=forking" and still get same results:

● hello-phoenix.service - hello-phoenix service
   Loaded: loaded (/etc/systemd/system/hello-phoenix.service; enabled)
   Active: failed (Result: start-limit) since Thu 2016-07-07 10:59:25 EDT;
23s ago
  Process: 7139 ExecStart=/home/hello-phoenix/app/bin/hello_phoenix start
(code=exited, status=0/SUCCESS)
 Main PID: 7174 (code=exited, status=0/SUCCESS)

Jul 07 10:59:25 Phoenix1 systemd[1]: hello-phoenix.service start request
repeated too quickly, refusing to start.
Jul 07 10:59:25 Phoenix1 systemd[1]: Failed to start hello-phoenix service.
Jul 07 10:59:25 Phoenix1 systemd[1]: Unit hello-phoenix.service entered
failed state.
Jul 07 10:59:27 Phoenix1 systemd[1]: hello-phoenix.service start request
repeated too quickly, refusing to start.
Jul 07 10:59:27 Phoenix1 systemd[1]: Failed to start hello-phoenix service.
root at Phoenix1:~# journalctl -xn
-- Logs begin at Wed 2016-07-06 16:21:33 EDT, end at Thu 2016-07-07
10:59:27 EDT. --
Jul 07 10:59:24 Phoenix1 sudo[6984]: pam_unix(sudo:session): session opened
for user root by root(uid=0)
Jul 07 10:59:24 Phoenix1 sudo[6984]: pam_unix(sudo:session): session closed
for user root
Jul 07 10:59:25 Phoenix1 systemd[1]: hello-phoenix.service start request
repeated too quickly, refusing to start.
Jul 07 10:59:25 Phoenix1 systemd[1]: Failed to start hello-phoenix service.
-- Subject: Unit hello-phoenix.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit hello-phoenix.service has failed.
-- 
-- The result is failed.
Jul 07 10:59:25 Phoenix1 systemd[1]: Unit hello-phoenix.service entered
failed state.
Jul 07 10:59:27 Phoenix1 sudo[7177]: root : TTY=pts/2 ; PWD=/root ;
USER=root ; COMMAND=/bin/systemctl start hello-phoenix.service
Jul 07 10:59:27 Phoenix1 sudo[7177]: pam_unix(sudo:session): session opened
for user root by root(uid=0)
Jul 07 10:59:27 Phoenix1 systemd[1]: hello-phoenix.service start request
repeated too quickly, refusing to start.
Jul 07 10:59:27 Phoenix1 systemd[1]: Failed to start hello-phoenix service.
-- Subject: Unit hello-phoenix.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- Unit hello-phoenix.service has failed.
-- 
-- The result is failed.
Jul 07 10:59:27 Phoenix1 sudo[7177]: pam_unix(sudo:session): session closed
for user root
root at Phoenix1:~#


Sincerely,
Michael Chavez, Web Developer
Space-Rocket | web and graphic design

M: 415-724-7935

W: http://www.space-rocket.com/

On Thu, Jul 7, 2016 at 7:48 AM, Mantas Mikulėnas <grawity at gmail.com> wrote:

> > Process: 4281 ExecStart=/home/hello-phoenix/app/bin/hello_phoenix start
> (code=exited, status=0/SUCCESS)
>
> If it's a 'daemon', use Type=forking.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20160707/5b29bbc7/attachment.html>


More information about the systemd-devel mailing list