From 9d0deea1225b73883f938d4dc99b52f071114b0d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 3 Nov 2020 16:51:32 +0100 Subject: [PATCH] fix --- conf/systemd.service | 2 +- scripts/_common.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index da2f5de..3d549ef 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ Group=__APP__ WorkingDirectory=__FINALPATH__ Environment="PATH=__ENV_PATH__" Environment="NODE_ENV=production" -ExecStart=__YNH_NPM__ ethercalc --port __PORT__ --expire __EXPIRE__ +ExecStart=__FINALPATH__/bin/ethercalc --port __PORT__ --expire __EXPIRE__ RuntimeMaxSec=86400 Restart=always diff --git a/scripts/_common.sh b/scripts/_common.sh index 762fd04..2a37a24 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,7 +4,7 @@ # COMMON VARIABLES #================================================= -pkg_dependencies="redis-server" +pkg_dependencies="redis-server g++ make" nodejs_version=12