Answer the question
In order to leave comments, you need to log in
How to start the daemon?
Hello everyone, I'm working with a queue, I had problems starting, I did this and
created the yiiqueue.service config in the /etc/systemd/system folder, with the following settings:
[Unit]
Description=YiiQueue
After=network.target
After=mysql.service
Requires=mysql.service
[Service]
User=crmSystem
Group=crmSystem
ExecStart=/usr/bin/php /home/xxxxxxxx/yii queue/listen
Restart=on-failure
Type=simple
[Install]
WantedBy=multi-user.target
Answer the question
In order to leave comments, you need to log in
solved the problem
i did this
but it had to be like this
those. in off. the documentation indicates the path to the yii file in the project, and I just pointed to the folder was
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question