at the end of the day, it was inevitable

This commit is contained in:
Mo Elzubeir
2022-12-09 08:36:26 -06:00
commit 1218570914
1768 changed files with 887087 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/bash
set -e
rm -r -f /etc/supervisor/conf.d/
cp -r configuration/supervisord/ /etc/supervisor/conf.d
cd /etc/supervisor/conf.d
for f in *; do mv "$f" "$f.conf"; done
for f in *; do sed -i 's/socialhose/application/' $f; done
for f in *; do sed -i 's/{{CWD}}/\/var\/www\/html/' $f; done
service supervisor start
supervisorctl reread
supervisorctl update
cd /var/www/html