aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--conf/systemd.service2
-rw-r--r--scripts/_common.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/systemd.service b/conf/systemd.service
index 3ac834c..3e2a78a 100644
--- a/conf/systemd.service
+++ b/conf/systemd.service
@@ -9,7 +9,7 @@ Group=__APP__
Environment="__YNH_NODE_LOAD_PATH__"
Environment="NODE_ENV=production"
WorkingDirectory=__INSTALL_DIR__/
-ExecStart=__YNH_NPM__ start
+ExecStart=/usr/bin/yarn start
### Depending on specificities of your service/app, you may need to tweak these
### .. but this should be a good baseline
diff --git a/scripts/_common.sh b/scripts/_common.sh
index 44277c5..9195d57 100644
--- a/scripts/_common.sh
+++ b/scripts/_common.sh
@@ -4,7 +4,7 @@
# COMMON VARIABLES
#=================================================
-nodejs_version=20
+nodejs_version=18
#=================================================
# PERSONAL HELPERS