package-stuff/preinst

17 lines
385 B
Bash
Executable File

#!/bin/sh -x
echo "got here in mattermost -- jcarr put this here"
touch /tmp/mattermost.jcarr.install
echo
echo follow the instructions to complete an install from here:
echo
echo https://docs.mattermost.com/install/install-tar.html
echo
useradd --system --user-group mattermost
echo $?
systemctl daemon-reload
systemctl status mattermost.service
systemctl start mattermost.service