mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
fix folder path
This commit is contained in:
parent
fe1d18990f
commit
f68c5f107c
1 changed files with 2 additions and 2 deletions
|
@ -105,8 +105,8 @@ ignoreregex =
|
|||
mkdir -p "/var/log/$app"
|
||||
if [ ! -f "$logpath" ]; then
|
||||
touch "$logpath"
|
||||
chown -R "$app:$app" "$logpath"
|
||||
chmod -R u=rwX,g=rX,o= "$logpath"
|
||||
chown -R "$app:$app" "/var/log/$app"
|
||||
chmod -R u=rwX,g=rX,o= "/var/log/$app"
|
||||
fi
|
||||
|
||||
ynh_systemd_action --service_name=fail2ban --action=reload --line_match="(Started|Reloaded) Fail2Ban Service" --log_path=systemd
|
||||
|
|
Loading…
Add table
Reference in a new issue