mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
13 lines
253 B
Bash
Executable file
13 lines
253 B
Bash
Executable file
#!/bin/bash
|
|
|
|
do_pre_regen() {
|
|
:
|
|
}
|
|
|
|
do_post_regen() {
|
|
# Enforce these damn permissions because for some reason in some weird cases
|
|
# they are spontaneously replaced by root:root -_-
|
|
chown -R redis:adm /var/log/redis
|
|
}
|
|
|
|
do_$1_regen ${@:2}
|