diff -r 084934fe912e -r a87316d901be dev/modules/sysconfig/templates/rc.local.erb --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dev/modules/sysconfig/templates/rc.local.erb Sat Mar 01 09:48:26 2014 +0100 @@ -0,0 +1,19 @@ +#!/bin/sh -e +# +# rc.local +# +# This script is executed at the end of each multiuser runlevel. +# Make sure that the script will "exit 0" on success or any other +# value on error. +# +# In order to enable or disable this script just change the execution +# bits. +# +# By default this script does nothing. + +if [ ! -d /var/run/gunicorn ]; then + mkdir /var/run/gunicorn/ + chown www-data:www-data /var/run/gunicorn/ +fi + +exit 0