more attempts to automate the install

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2022-10-08 11:00:31 -05:00
parent 8fd849f799
commit 282ceb54e8
1 changed files with 4 additions and 1 deletions

View File

@ -1,9 +1,12 @@
#!/bin/sh
# create the mattermost user and database
su postgres -c 'createdb mattermost'
su postgres -c 'createuser mmuser'
# not sure this or the other one works
# su postgres -c 'createdb mattermost'
su postgres -c 'createdb -O mmuser mattermost'
echo
echo systemctl status mattermost.service
echo