[damned-lies/oscp] Take into account cronjobs as well



commit cb387a960f738bfef3680a23e27e66772cbce14c
Author: Andrea Veri <averi redhat com>
Date:   Tue Jun 8 18:17:32 2021 +0200

    Take into account cronjobs as well

 httpd/entrypoint.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/httpd/entrypoint.sh b/httpd/entrypoint.sh
index b3797ba5..2f5621df 100755
--- a/httpd/entrypoint.sh
+++ b/httpd/entrypoint.sh
@@ -24,4 +24,8 @@ echo 'Generating static files'
 echo 'Compiling translations'
 /l10n/venv/bin/python manage.py compile-trans
 
-exec httpd -DFOREGROUND
+if [ $# -eq 0 ]; then
+  exec httpd -DFOREGROUND
+else
+  exec $*
+fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]