Skip to content
This repository has been archived by the owner on Jun 27, 2019. It is now read-only.

Commit

Permalink
Do not flush output of node server in journalctl
Browse files Browse the repository at this point in the history
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 <bruno.bottazzini@intel.com>
  • Loading branch information
Bruno Bottazzini committed Nov 5, 2015
1 parent d0f3913 commit a274923
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/units/soletta-dev-app-server.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit a274923

Please sign in to comment.