1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Fixes service copy

This commit is contained in:
Selamanse 2017-07-18 15:32:34 +02:00
parent 546cbb6490
commit d7a261203d

View file

@ -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