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

adding upgrade script

This commit is contained in:
realitygaps 2016-04-29 17:52:21 +02:00
parent d16b4995e9
commit 452fe7e6c4

7
scripts/upgrade Normal file
View file

@ -0,0 +1,7 @@
#!/bin/bash
sudo systemctl stop Rocketchat.service
sudo m -rf /var/www/rocketchat/*
sudo cp -r ../sources/* /var/www/rocketchat/*
sudo systemctl start Rocketchat.service