dev/modules/sysconfig/templates/rc.local.erb
author ymh <ymh.work@gmail.com>
Fri, 07 Mar 2014 09:38:10 +0100
changeset 593 8156e6e3c503
parent 587 a1aa29e7809f
permissions -rw-r--r--
add karma test configuration creation in vagrant provision and add supervisor entry to launch (open|libre)office headless

#!/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