kubernetes #comment create needed directory for worker

This commit is contained in:
Alexandre BRACH
2019-10-04 09:06:14 +02:00
parent 6660c7fe32
commit 9fdd704d5a
2 changed files with 13 additions and 12 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/bash
mkdir /var/alchemy/Phraseanet/tmp/locks && chown -R app:app /var/alchemy/Phraseanet/tmp
runuser app -c 'php /var/alchemy/Phraseanet/bin/console task-manager:scheduler:run'