From 9fc71fcfeea1880f299e2e7046baa72f2e25bf22 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Thu, 19 Sep 2019 15:58:43 +0200 Subject: [PATCH] fix(core): update --- ts/smartdaemon.classes.templatemanager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/ts/smartdaemon.classes.templatemanager.ts b/ts/smartdaemon.classes.templatemanager.ts index 4b77a85..722ae39 100644 --- a/ts/smartdaemon.classes.templatemanager.ts +++ b/ts/smartdaemon.classes.templatemanager.ts @@ -24,6 +24,7 @@ After=network.target [Service] Type=simple +Environment=NODE_OPTIONS=--max_old_space_size=100 ExecStart=/bin/bash -c "cd ${serviceArg.workingDir} && ${serviceArg.command}" WorkingDirectory=${serviceArg.workingDir} Restart=on-failure