From 452fe7e6c42c926f325a0e24d360aae94ef323f5 Mon Sep 17 00:00:00 2001 From: realitygaps Date: Fri, 29 Apr 2016 17:52:21 +0200 Subject: [PATCH] adding upgrade script --- scripts/upgrade | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 scripts/upgrade diff --git a/scripts/upgrade b/scripts/upgrade new file mode 100644 index 0000000..b7f2a8a --- /dev/null +++ b/scripts/upgrade @@ -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