@glicogh/healthcare-cdk 0.1.31 → 0.1.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,7 +85,7 @@ sudo ln -sf $configuration_dir/supervisor.{{serviceName}}-service-server.conf /e
85
85
  sudo systemctl restart supervisor
86
86
 
87
87
  # register cron
88
- cron_command="cd $service_dir && php artisan schedule:run >> /dev/null 2>&1"
88
+ cron_command="cd $service_dir && php artisan schedule:run >> $logs_dir/{{serviceName}}-cron.log"
89
89
  cron_job="* * * * * $cron_command"
90
90
  ( ( crontab -l || true ) | ( grep -v -F "$cron_command" || true ) ; echo "$cron_job" ) | crontab -
91
91
 
@@ -1,11 +1,9 @@
1
- sudo apt install supervisor -yq
2
-
3
1
  cd ~
4
2
  curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh
5
3
  sudo -E bash nodesource_setup.sh
6
- sudo apt install nodejs -yq
4
+ sudo apt install nodejs chromium-browser -yq
7
5
 
8
6
  cd $service_dir/node-scripts
9
7
 
10
8
  # build
11
- sudo npm i
9
+ sudo npm i
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glicogh/healthcare-cdk",
3
- "version": "0.1.31",
3
+ "version": "0.1.33",
4
4
  "description": "CDK automations",
5
5
  "bin": {
6
6
  "cdk": "bin/cdk.js"
@@ -85,7 +85,7 @@ sudo ln -sf $configuration_dir/supervisor.{{serviceName}}-service-server.conf /e
85
85
  sudo systemctl restart supervisor
86
86
 
87
87
  # register cron
88
- cron_command="cd $service_dir && php artisan schedule:run >> /dev/null 2>&1"
88
+ cron_command="cd $service_dir && php artisan schedule:run >> $logs_dir/{{serviceName}}-cron.log"
89
89
  cron_job="* * * * * $cron_command"
90
90
  ( ( crontab -l || true ) | ( grep -v -F "$cron_command" || true ) ; echo "$cron_job" ) | crontab -
91
91
 
@@ -1,11 +1,9 @@
1
- sudo apt install supervisor -yq
2
-
3
1
  cd ~
4
2
  curl -fsSL https://deb.nodesource.com/setup_current.x -o nodesource_setup.sh
5
3
  sudo -E bash nodesource_setup.sh
6
- sudo apt install nodejs -yq
4
+ sudo apt install nodejs chromium-browser -yq
7
5
 
8
6
  cd $service_dir/node-scripts
9
7
 
10
8
  # build
11
- sudo npm i
9
+ sudo npm i