]> _ Git - fluidbook-toolbox.git/commitdiff
wip #5389 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 12 Aug 2022 07:25:21 +0000 (09:25 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 12 Aug 2022 07:25:21 +0000 (09:25 +0200)
restartworkers [new file with mode: 0644]
update

diff --git a/restartworkers b/restartworkers
new file mode 100644 (file)
index 0000000..0ccd611
--- /dev/null
@@ -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 262d1f5217bbfd23445b8515b3ab6bee47a914fa..db64dae5675f7a6def086e1ed8b3e026746afba0 100644 (file)
--- 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