From 013728b075c32bc8ebfba6e1b708e787b883b11a Mon Sep 17 00:00:00 2001 From: frju365 Date: Thu, 20 Apr 2017 01:24:45 +0200 Subject: [PATCH] Update nodebb.service --- conf/nodebb.service | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/conf/nodebb.service b/conf/nodebb.service index d50cc9e..6d243d7 100644 --- a/conf/nodebb.service +++ b/conf/nodebb.service @@ -5,10 +5,14 @@ After=system.slice multi-user.target [Service] Type=simple -User=root +User=nodebb + +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=nodebb Environment=NODE_ENV=production -WorkingDirectory=__PATH__ +WorkingDirectory=/var/www/nodebb ExecStart=/usr/bin/node loader.js --no-daemon --no-silent Restart=always