Skip to content

Commit

Permalink
changed log file size for deletion to 10MB
Browse files Browse the repository at this point in the history
  • Loading branch information
eizedev committed Jan 15, 2021
1 parent 2f6801e commit 6db68af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/start-stop-status
Expand Up @@ -9,7 +9,7 @@ FILTER_AIRPLAY2_DEVICES="<NULL>,S1,S3,S5,S9,S12,ZP80,ZP90,S15,ZP100,ZP120,1.0,Li

LOG="/var/log/${AIRCONNECT_USER}.log"
# Delete Log if older than 1 day
find "${LOG}" -size +50M -type f -delete >/dev/null 2>&1
find "${LOG}" -size +10M -type f -delete >/dev/null 2>&1
# Ensure user 'airconnect' exists before doing anything
if ! synouser --get "${AIRCONNECT_USER}" >/dev/null 2>&1; then
# create user with random password
Expand Down

0 comments on commit 6db68af

Please sign in to comment.