examples - add missing setup.sh for mattermost
This commit is contained in:
parent
70c60f2a9b
commit
0a1e8be71f
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
if [ $(id -u) -ne 0 ] ; then
|
||||
echo "❌ Run me as root"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d ./volumes/app/mattermost ] ; then
|
||||
mkdir -p ./volumes/app/mattermost/{config,data,logs,plugins,client/plugins,bleve-indexes}
|
||||
fi
|
||||
chown -R 2000:2000 ./volumes/app/mattermost
|
Loading…
Reference in New Issue