From 4b3b2d69247ddad299101ea0f9079c9e362f5d74 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Fri, 12 Aug 2022 09:25:21 +0200 Subject: [PATCH] wip #5389 @0.5 --- restartworkers | 4 ++++ update | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 restartworkers diff --git a/restartworkers b/restartworkers new file mode 100644 index 000000000..0ccd6113e --- /dev/null +++ b/restartworkers @@ -0,0 +1,4 @@ +#!/bin/sh +/usr/sbin/service supervisor stop +pkill -9 -f queue:work +/usr/sbin/service supervisor start diff --git a/update b/update index 262d1f521..db64dae56 100644 --- a/update +++ b/update @@ -1,9 +1,12 @@ #!/bin/sh /usr/bin/php8.0 /usr/local/bin/composer update +chmod 755 ./update +chmod 755 ./restartworkers /usr/bin/php8.0 artisan lang:add fr en /usr/bin/php8.0 artisan cubist:magic:migrate /usr/bin/php8.0 artisan cubist:magic:generate /usr/bin/php8.0 /usr/local/bin/composer dump-autoload +sudo ./restartworkers /usr/bin/php8.0 artisan optimize:clear npm update npm run elearningmedia-prod -- 2.39.5