source: src/django_gheat/init_ramdisk.sh@ 9579

Last change on this file since 9579 was 9556, checked in by rick, 13 years ago

Sync configs and documentation

File size: 304 bytes
RevLine 
[9556]1MD=`mdconfig -a -t malloc -s 1g`
2newfs /dev/$MD
3mount -o rw,noatime /dev/$MD /usr/local/var
4mkdir -p /usr/local/var/django/cache/{osm_proxy,tile}
5mkdir -p /usr/local/var/scan-data
6mkdir -p /usr/local/var/httpd/cache/{osmproxy,maps}
7chown -R www:www /usr/local/var/*
8
9/usr/local/etc/rc.d/apache22 restart
Note: See TracBrowser for help on using the repository browser.