aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÉric Gaspar <46165813+ericgaspar@users.noreply.github.com>2024-06-08 19:50:56 +0200
committerÉric Gaspar <46165813+ericgaspar@users.noreply.github.com>2024-06-08 19:50:56 +0200
commitd05c6b0deac6954e088dbae98e4cc53aa23e7481 (patch)
tree61ab30a45b51a72bec698edf198c0dc94b5185ab
parent9205a715837743890c797212ba950f4354779fac (diff)
fix
-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