1
0
Fork 0
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:
Josué Tille 2018-08-03 09:14:12 +02:00
parent e1109031b4
commit bfc3e41d72

View file

@ -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