#!/bin/sh
cupsd
exec "$@"

#!/bin/sh
PIDFILE='/tmp/unicorn.pid'
if [ -f "$PIDFILE" ]; then
  rm "$PIDFILE"
fi
cupsd
exec "$@"

Delete stale PID file on start.
Delete stale PID file on start.

This ensures that unicorn starts even when a previous PID file wasn't
removed properly.
