From bcfc404b8e1df07edfced7b1d525a8cebb0083e3 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 3 Nov 2020 16:14:09 +0100 Subject: [PATCH] Update systemd.service --- conf/systemd.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 51022a2..31beea6 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -6,10 +6,10 @@ After=network.target Type=simple User=__APP__ Group=__APP__ -Environment="NODE_ENV=production" -Environment="__YNH_NODE_LOAD_PATH__" WorkingDirectory=__FINALPATH__ -ExecStart=/ethercalc --port __PORT__ --expire __EXPIRE__ +Environment="PATH=__ENV_PATH__" +Environment="NODE_ENV=production" +ExecStart=__FINALPATH__/ethercalc --port __PORT__ --expire __EXPIRE__ RuntimeMaxSec=86400 Restart=always