13 lines
292 B
SYSTEMD
Executable File
13 lines
292 B
SYSTEMD
Executable File
[Unit]
|
|
StartLimitIntervalSec=20s
|
|
StartLimitBurst=5
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/php -d memory_limit=-1 /var/www/html/nineskeletor/bin/console messenger:consume async --memory-limit=512m --env=prod
|
|
Restart=always
|
|
RestartSec=1
|
|
TimeoutSec=300
|
|
User=www-data
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target |