diff options
author | Duarte David | 2017-02-05 14:31:12 +0100 |
---|---|---|
committer | Duarte David | 2017-02-05 14:31:12 +0100 |
commit | dbf1660453591ad8416c334c66508bec57f84891 (patch) | |
tree | 5668e9b97003acacf13f983539795f85da853771 /nodebb.service | |
download | aur-nodebb.tar.gz |
Add nodebb package
Diffstat (limited to 'nodebb.service')
-rw-r--r-- | nodebb.service | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nodebb.service b/nodebb.service new file mode 100644 index 000000000000..0dfaf0168a24 --- /dev/null +++ b/nodebb.service @@ -0,0 +1,21 @@ +[Unit] +Description=NodeBB forum for Node.js. +Documentation=http://nodebb.readthedocs.io/en/latest/ +After=system.slice multi-user.target + +[Service] +Type=simple +User=nodebb + +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=nodebb + +Environment=NODE_ENV=production +WorkingDirectory=/opt/nodebb +ExecStart=/usr/bin/node loader.js --no-daemon --no-silent +Restart=always + +[Install] +WantedBy=multi-user.target + |