SIPB's Mattermost-Zephyr bridge
-
Stop the service.
systemctl stop mm2zephyr.service
-
Log in to the XVM and make a backup of
mm2zephyr
.cp /usr/local/bin/mm2zephyr mm2zephyr-backups/mm2zephyr_$(date +"%Y-%m-%d")
-
Switch to
quentin
(su quentin
), who has all thego
environment set up. Compile the updated repo.go build -v -o mm2zephyr cmd/mm2zephyr/main.go`
-
Copy
mm2zephyr
to/usr/local/bin/mm2zephyr
. -
Start the service.
systemctl start mm2zephyr.service`
Note for future: If ever moving to a different system, you may need to install dependencies:
apt-get install golang
apt-get install g++
apt-get install libkrb5-dev