From a2749237f64dd12306476ede1d0ac23aa85d308b Mon Sep 17 00:00:00 2001 From: Bruno Bottazzini Date: Thu, 5 Nov 2015 18:15:31 -0200 Subject: [PATCH] Do not flush output of node server in journalctl After some time the journal will become unreadable since the stdout of server prints every request. This may not be useful, let this outputs being shown only when running outside the server Signed-off-by: Bruno Bottazzini --- scripts/units/soletta-dev-app-server.service.in | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/units/soletta-dev-app-server.service.in b/scripts/units/soletta-dev-app-server.service.in index 7e65786..b18d1bb 100644 --- a/scripts/units/soletta-dev-app-server.service.in +++ b/scripts/units/soletta-dev-app-server.service.in @@ -2,6 +2,7 @@ Description=Run Soletta Development Application server [Service] +StandardOutput=null ExecStart=/usr/bin/NODE_BIN_NAME PATH/server/app.js 1> /dev/null 2>&1 Environment="NODE_ENV=production"