more attempts to automate the install
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
8fd849f799
commit
282ceb54e8
5
postinst
5
postinst
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue