Skip to content

Commit

Permalink
fix: filter log spam that fills up volume
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Kaser <[email protected]>
  • Loading branch information
dkaser committed Jun 17, 2024
1 parent 73ce0f7 commit 2deed24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/local/emhttp/plugins/tailscale/rc.tailscale
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ start_tailscaled() {
TAILSCALE_START_CMD="/usr/local/sbin/tailscaled -statedir /boot/config/plugins/tailscale/state -tun tailscale1 $TAILSCALE_CUSTOM_PARAMS"
log "Starting tailscaled: $TAILSCALE_START_CMD"
mkdir -p /boot/config/plugins/tailscale/state
$TAILSCALE_START_CMD >> /var/log/tailscale.log 2>&1 &
$TAILSCALE_START_CMD 2>&1 | grep -vF "monitor: [unexpected]" >> /var/log/tailscale.log &
nohup /usr/local/emhttp/plugins/tailscale/tailscale-watcher.php 1>/dev/null 2>&1 &
fi
}
Expand Down

0 comments on commit 2deed24

Please sign in to comment.