mirror of
https://github.com/YunoHost-Apps/horde_ynh.git
synced 2024-09-03 19:16:08 +02:00
Fix helper ynh_use_logrotate
This commit is contained in:
parent
e1109031b4
commit
bfc3e41d72
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ ynh_use_logrotate () {
|
||||||
local su_directive=""
|
local su_directive=""
|
||||||
if [[ -n $user_group ]]; then
|
if [[ -n $user_group ]]; then
|
||||||
su_directive=" # Run logorotate as specific user - group
|
su_directive=" # Run logorotate as specific user - group
|
||||||
su ${user_group#*/} ${user_group%/*}"
|
su ${user_group%/*} ${user_group#*/}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
cat > ./${app}-logrotate << EOF # Build a config file for logrotate
|
cat > ./${app}-logrotate << EOF # Build a config file for logrotate
|
||||||
|
|
Loading…
Reference in a new issue