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:
parent
d16b4995e9
commit
452fe7e6c4
1 changed files with 7 additions and 0 deletions
7
scripts/upgrade
Normal file
7
scripts/upgrade
Normal 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
|
Loading…
Add table
Reference in a new issue