redis permissions
This commit is contained in:
parent
63396af58c
commit
2fb35ca042
@ -43,6 +43,8 @@ function update_script() {
|
||||
echo "REDIS_IS_EXTERNAL='true'" >> /opt/homarr/.env
|
||||
sed -i 's|^ExecStart=.*|ExecStart=/opt/homarr/run.sh|' /etc/systemd/system/homarr.service
|
||||
sed -i 's|^EnvironmentFile=.*|EnvironmentFile=-/opt/homarr.env|' /etc/systemd/system/homarr.service
|
||||
chown -R redis:redis /appdata/redis
|
||||
chmod 755 /appdata/redis
|
||||
# TODO: change in json
|
||||
systemctl daemon-reload
|
||||
cp /opt/homarr/.env /opt/homarr.env
|
||||
|
||||
@ -48,6 +48,8 @@ EOF
|
||||
msg_ok "Installed Homarr"
|
||||
|
||||
msg_info "Copying config files"
|
||||
chown -R redis:redis /appdata/redis
|
||||
chmod 755 /appdata/redis
|
||||
cp /opt/homarr/redis.conf /etc/redis/redis.conf
|
||||
rm /etc/nginx/nginx.conf
|
||||
mkdir -p /etc/nginx/templates
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user