mirror of
https://github.com/pi-hole/pi-hole.git
synced 2024-11-15 02:42:58 +00:00
Create new log directory
Signed-off-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
parent
37889f27de
commit
fd41801977
1 changed files with 1 additions and 0 deletions
|
@ -2619,6 +2619,7 @@ main() {
|
|||
stop_service pihole-FTL &> /dev/null
|
||||
|
||||
if [ -f /var/log/pihole.log ] && [ ! -L /var/log/pihole.log ]; then
|
||||
mkdir -p /var/log/pihole/
|
||||
mv /var/log/pihole*.* /var/log/pihole/ 2>/dev/null
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue