From ccfc3e5f3d585ca9dbf019ecd21f777808a57c32 Mon Sep 17 00:00:00 2001 From: Limezy Date: Wed, 31 Aug 2022 11:54:02 +0700 Subject: [PATCH] Updates --- scripts/_common.sh | 2 +- scripts/install | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 18548a0..4d1345c 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -27,7 +27,7 @@ function detect_arch() { NODEJS_VERSION=16 # dependencies used by the app -pkg_dependencies="npm musl-dev postgresql ffmpeg" +pkg_dependencies="npm musl-dev libvips postgresql ffmpeg" # libheif vips diff --git a/scripts/install b/scripts/install index 536320a..b2bab6a 100755 --- a/scripts/install +++ b/scripts/install @@ -207,7 +207,7 @@ ynh_script_progression --message="Configuring all systemd services..." # Create a dedicated systemd config ynh_add_systemd_config --service=$app-server --template=server.service ynh_add_systemd_config --service=$app-microservices --template=microservices.service -ynh_add_systemd_config --service=$app-machine-learning --template=ml.service +ynh_add_systemd_config --service=$app-ml --template=ml.service ynh_add_systemd_config --service=$app-web --template=web.service #================================================= @@ -237,6 +237,9 @@ ynh_script_progression --message="Starting a systemd service..." # Start a systemd service ynh_systemd_action --service_name=$app-server --action="start" --log_path="/var/log/$app/$app-server.log" +ynh_systemd_action --service_name=$app-microservices --action="start" --log_path="/var/log/$app/$app-microservices.log" +ynh_systemd_action --service_name=$app-ml --action="start" --log_path="/var/log/$app/$app-ml.log" +ynh_systemd_action --service_name=$app-web --action="start" --log_path="/var/log/$app/$app-web.log" #================================================= # SETUP SSOWAT