Good afternoon, I speak Spanish but I try to make myself understood.
I'm a beginner when it comes to Atom, I have a mistake with Atom-worker,
I have configured /usr/lib/systemd/system/atom-worker.service as follows:
[Unit]
Description=AtoM worker
After=network.target
# High interval and low restart limit to increase the possibility
# of hitting the rate limits in long running recurrent jobs.
StartLimitIntervalSec=24h
StartLimitBurst=3
[Install]
WantedBy=multi-user.target
[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/usr/share/nginx/atom
ExecStart=/usr/bin/php7.2 -d memory_limit=-1 -d error_reporting="E_ALL" symfony jobs:worker
KillSignal=SIGTERM
Restart=on-failure
RestartSec=30
I'm working with apache and php 7.2 and I get this error, someone could help me.
# systemctl status atom-worker
● atom-worker.service - AtoM worker
Loaded: loaded (/etc/systemd/system/atom-worker.service; enabled; vendor preset: disabled)
Active: activating (auto-restart) (Result: exit-code) since Mon 2020-12-14 17:38:16 -03; 4s ago
Process: 104618 ExecStart=/usr/bin/php7.2 -d memory_limit=-1 -d error_reporting=E_ALL symfony jobs:worker (code=exited, status=217/USER)
Main PID: 104618 (code=exited, status=217/USER)
Dec 14 17:38:16 desa-atom.localdomain systemd[1]: atom-worker.service: Main process exited, code=exited, status=217/USER
Dec 14 17:38:16 desa-atom.localdomain systemd[1]: atom-worker.service: Failed with result 'exit-code'.