We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1a70b7 commit 870e7f2Copy full SHA for 870e7f2
1 file changed
installer/start-redis.sh
@@ -4,8 +4,10 @@ if [ ! -d /opt/maxkb/data/redis ]; then
4
mkdir -p /opt/maxkb/data/redis
5
chmod 700 /opt/maxkb/data/redis
6
fi
7
-mkdir -p /opt/maxkb/logs
8
-
+if [ ! -d /opt/maxkb/logs ]; then
+ mkdir -p /opt/maxkb/logs
9
+ chmod 700 /opt/maxkb/logs
10
+fi
11
if [ ! -f /opt/maxkb/conf/redis.conf ]; then
12
mkdir -p /opt/maxkb/conf
13
touch /opt/maxkb/conf/redis.conf
0 commit comments