From d7a261203d25c16e014d87ca160e232d8d7f8c7a Mon Sep 17 00:00:00 2001 From: Selamanse Date: Tue, 18 Jul 2017 15:32:34 +0200 Subject: [PATCH] Fixes service copy --- scripts/install | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 8e578a6..a45f485 100644 --- a/scripts/install +++ b/scripts/install @@ -58,6 +58,7 @@ sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf* sed -i "s@CHANGEMETOROOTURL@$domain/@g" ../conf/Rocketchat.service sudo cp ../conf/nginx.conf-nosub /etc/nginx/conf.d/$domain.d/rocketchat.conf +sudo cp ../conf/Rocketchat.service /etc/systemd/system/ pkgdir=$(pwd) @@ -66,8 +67,6 @@ sudo curl -L -o $final_path/rocket.chat-$ROCKETCHAT_VERSION.gtar "https://rocket cd $final_path && sudo tar -xzf $final_path/rocket.chat-$ROCKETCHAT_VERSION.gtar cd $final_path && sudo rm -r PaxHeader && mv bundle/** . -sudo cp ../conf/Rocketchat.service /etc/systemd/system/ - cd $final_path/programs/server/ sudo npm install