mikemorris ревизій цього gist 8 hours ago. До ревизії
1 file changed, 2 insertions, 2 deletions
docker-run-command.sh
| @@ -2,5 +2,5 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | - | pm2 start /opt/builder/ecosystem.config.cjs | |
| 6 | - | /etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND | |
| 5 | + | /etc/init.d/php7.4-fpm start && apachectl | |
| 6 | + | pm2-runtime start /opt/builder/ecosystem.config.cjs | |
mikemorris ревизій цього gist 8 hours ago. До ревизії
1 file changed, 1 insertion, 1 deletion
docker-run-command.sh
| @@ -2,5 +2,5 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | - | pm2 start /opt/builder/ecosystem.config.js | |
| 5 | + | pm2 start /opt/builder/ecosystem.config.cjs | |
| 6 | 6 | /etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND | |
mikemorris ревизій цього gist 8 hours ago. До ревизії
1 file changed, 1 insertion
docker-run-command.sh
| @@ -2,4 +2,5 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | + | pm2 start /opt/builder/ecosystem.config.js | |
| 5 | 6 | /etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND | |
mikemorris ревизій цього gist 8 hours ago. До ревизії
1 file changed, 1 insertion, 1 deletion
docker-run-command.sh
| @@ -2,4 +2,4 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | - | /etc/init.d/php7.4-fpm start && apachectl start | |
| 5 | + | /etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND | |
mikemorris ревизій цього gist 8 hours ago. До ревизії
1 file changed, 1 deletion
docker-run-command.sh
| @@ -2,5 +2,4 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | - | pm2 start /opt/builder/ecosystem.config.js | |
| 6 | 5 | /etc/init.d/php7.4-fpm start && apachectl start | |
mikemorris ревизій цього gist 8 hours ago. До ревизії
1 file changed, 2 insertions, 1 deletion
docker-run-command.sh
| @@ -2,4 +2,5 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | - | pm2 start /opt/builder/ecosystem.config.js | |
| 5 | + | pm2 start /opt/builder/ecosystem.config.js | |
| 6 | + | /etc/init.d/php7.4-fpm start && apachectl start | |
mikemorris ревизій цього gist 22 hours ago. До ревизії
1 file changed, 1 insertion, 2 deletions
docker-run-command.sh
| @@ -2,5 +2,4 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | - | pm2 start /opt/builder/ecosystem.config.js | |
| 6 | - | /etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND | |
| 5 | + | pm2 start /opt/builder/ecosystem.config.js | |
mikemorris ревизій цього gist 22 hours ago. До ревизії
1 file changed, 2 insertions, 3 deletions
docker-run-command.sh
| @@ -2,6 +2,5 @@ | |||
| 2 | 2 | chmod 777 /logs | |
| 3 | 3 | ln -sf /opt/vendor /app/vendor | |
| 4 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | - | /etc/init.d/php7.4-fpm start | |
| 6 | - | apachectl start | |
| 7 | - | pm2-runtime start /opt/builder/jade-compiler.js | |
| 5 | + | pm2 start /opt/builder/ecosystem.config.js | |
| 6 | + | /etc/init.d/php7.4-fpm start && apachectl -D FOREGROUND | |
mikemorris ревизій цього gist 23 hours ago. До ревизії
1 file changed, 5 insertions, 5 deletions
docker-run-command.sh
| @@ -1,7 +1,7 @@ | |||
| 1 | 1 | #!/bin/bash | |
| 2 | - | chmod 777 /logs && | |
| 3 | - | ln -sf /opt/vendor /app/vendor && | |
| 4 | - | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini && | |
| 5 | - | /etc/init.d/php7.4-fpm start && | |
| 6 | - | apachectl start && | |
| 2 | + | chmod 777 /logs | |
| 3 | + | ln -sf /opt/vendor /app/vendor | |
| 4 | + | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini | |
| 5 | + | /etc/init.d/php7.4-fpm start | |
| 6 | + | apachectl start | |
| 7 | 7 | pm2-runtime start /opt/builder/jade-compiler.js | |
mikemorris ревизій цього gist 23 hours ago. До ревизії
1 file changed, 1 insertion
docker-run-command.sh
| @@ -1,3 +1,4 @@ | |||
| 1 | + | #!/bin/bash | |
| 1 | 2 | chmod 777 /logs && | |
| 2 | 3 | ln -sf /opt/vendor /app/vendor && | |
| 3 | 4 | ln -sf /app/config/${CONFIG_FILE} /app/config/config.ini && | |