Skip to content

Systemd wont start #42

Closed
Closed
@nikkii94

Description

@nikkii94

Hello! I have a symfony app with a socket command. I'm using your lib to run the socket constantly, but and it was working fine for weeks, but suddenly it stopped, and I can't get it work anymore.

Everytime I try to start it I get this:

systemctl status -l myapp.service
● myapp.service 
   Loaded: loaded (/etc/systemd/system/myapp.service; enabled; vendor preset: disabled)
   Active: activating (auto-restart) (Result: exit-code) since Mon 2019-02-04 10:42:47 CET; 3s ago
  Process: 17029 ExecStart=/home/myapp/symfony/bin/console app:start (code=exited, status=127)
 Main PID: 17029 (code=exited, status=127)

systemd[1]: Unit myapp.service entered failed state.
systemd[1]: myapp.service failed.

Here is my myapp.service file:

[Unit]
Description=myapp
After=syslog.target

[Service]
ExecStart=/home/myapp/symfony/bin/console app:start
Restart=always
RestartSec=5s

[Install]
WantedBy=multi-user.target

Can you help me please? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions