diff --git a/conf/systemd.service b/conf/systemd.service index 8891f3b..301d80e 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -9,7 +9,7 @@ Group=__APP__ Environment="PATH=__NODEJS_PATH__" Environment="PORT=__PORT__" WorkingDirectory=__FINALPATH__/ -ExecStart=__FINALPATH__/node_modules/.bin/ts-node --project __FINALPATH__/tsconfig.json __FINALPATH__/bin/server.ts >> /var/log/__APP__/__APP__.log 2>&1 +ExecStart=/bin/sh -c '__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