17 lines
457 B
Text
17 lines
457 B
Text
|
|
[Unit]
|
||
|
|
Description=Worker de file du portail Syllabus (CreerStackLab, SupprimerStackLab — étape 10)
|
||
|
|
# Géré par Ansible (rôle portail) — ne pas modifier à la main.
|
||
|
|
After=network.target
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
User=www-data
|
||
|
|
Group=www-data
|
||
|
|
WorkingDirectory={{ portail_dossier_app }}
|
||
|
|
ExecStart=/usr/bin/php{{ portail_php_version }} artisan queue:work --sleep=1 --tries=1 --max-time=3600
|
||
|
|
Restart=always
|
||
|
|
RestartSec=3
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|