Project

General

Profile

« Previous | Next » 

Revision b6355bdc

Added by Jim Pingle over 8 years ago

Latest nginx requires /var/log/nginx/ to exist, so for users with /var in RAM it needs created.

View differences:

src/etc/pfSense-rc
244 244
fi
245 245

  
246 246
# make some directories in /var
247
/bin/mkdir -p $varrunpath /var/log /var/etc /var/db/entropy /var/db/rrd /var/at/jobs/ /var/empty 2>/dev/null
247
/bin/mkdir -p $varrunpath /var/log /var/etc /var/db/entropy /var/db/rrd /var/at/jobs/ /var/empty /var/log/nginx 2>/dev/null
248 248
/bin/rm -rf $varrunpath/*
249 249
if [ "$PLATFORM" != "${product}" ]; then
250 250
	/bin/rm /var/log/* 2>/dev/null

Also available in: Unified diff