mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-06 16:46:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
22
roles/akeneo_pim/templates/akeneo-pim-jobs.service.j2
Normal file
22
roles/akeneo_pim/templates/akeneo-pim-jobs.service.j2
Normal file
@@ -0,0 +1,22 @@
|
||||
[Unit]
|
||||
Description=Akeneo jobs worker for PIM {{ pim_id }}
|
||||
|
||||
[Service]
|
||||
User={{ pim_user }}
|
||||
Group={{ pim_user }}
|
||||
WorkingDirectory={{ pim_root_dir }}/app
|
||||
ExecStart=/bin/php{{ pim_php_version }} bin/console akeneo:batch:job-queue-consumer-daemon --env=prod
|
||||
PrivateTmp=yes
|
||||
PrivateDevices=yes
|
||||
ProtectSystem=full
|
||||
ProtectHome=yes
|
||||
NoNewPrivileges=yes
|
||||
MemoryLimit=1024M
|
||||
SyslogIdentifier=akeneo-pim_{{ pim_id }}-jobs
|
||||
Restart=on-failure
|
||||
StartLimitInterval=0
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Reference in New Issue
Block a user