From 637a4779829410ec1bf2147c69f0947ba49dfae4 Mon Sep 17 00:00:00 2001 From: Yalh Date: Mon, 28 Jan 2019 23:44:06 +0100 Subject: [PATCH] fix Service --- conf/systemd.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/systemd.service b/conf/systemd.service index 5d0a555..793f1a7 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -8,7 +8,7 @@ User=__APP__ Group=__APP__ Environment="PATH=__ENV_PATH__" WorkingDirectory=__FINALPATH__/ -ExecStart=/bin/bash -c '__FINALPATH__/node_modules/.bin/ts-node --project __FINALPATH__/tsconfig.json __FINALPATH__/bin/server.ts >> /var/log/__APP__/__APP__.log 2>&1' +ExecStart=__FINALPATH__/node_modules/.bin/ts-node --project __FINALPATH__/tsconfig.json __FINALPATH__/bin/server.ts >> /var/log/__APP__/__APP__.log 2>&1 [Install] WantedBy=multi-user.target