Merge pull request 'temp' (#22) from temp into master
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m29s
All checks were successful
Build and Push Docker Image / build (push) Successful in 3m29s
Reviewed-on: #22
This commit is contained in:
@@ -21,7 +21,7 @@ services:
|
||||
|
||||
reskreen-backend-cron:
|
||||
image: gitea.prod.resk-u.ch/clerc/reskreen:latest
|
||||
command: crond -f
|
||||
command: start_crond.sh
|
||||
volumes:
|
||||
- reskreen-data:/app/config
|
||||
labels:
|
||||
|
8
start_crond.sh
Normal file
8
start_crond.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
# start_crond.sh
|
||||
|
||||
# Activer le venv
|
||||
source venv/bin/activate
|
||||
|
||||
# Lancer crond
|
||||
exec crond -f
|
Reference in New Issue
Block a user