From e0af0bf2cc0e7874cf75a9b3ac413b309df8c87d Mon Sep 17 00:00:00 2001 From: Jarli01 Date: Tue, 8 Mar 2016 15:38:21 -0500 Subject: [PATCH] Includes systemd startup --- xo_install.sh | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/xo_install.sh b/xo_install.sh index 5390b1b..467808e 100644 --- a/xo_install.sh +++ b/xo_install.sh @@ -17,5 +17,23 @@ cd /opt/xo-web sudo npm i lodash.trim@3.0.1 sudo npm install sudo npm run build -cd /opt/xo-server -sudo npm start +cat > /etc/systemd/system/xo-server.service <