Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am hixi on github.
  • I am nicolajordan (https://keybase.io/nicolajordan) on keybase.
  • I have a public key whose fingerprint is F492 0F88 17F1 A716 2C5F 5445 4B64 D29A 11B4 B383

To claim this, I am signing this object:

@hixi
hixi / settings.py
Created March 21, 2013 17:36
Simple "Hack" to overwrite existing files altering the FileSystemStorage (default for Django) only as little as possible
# ...
DEFAULT_FILE_STORAGE = 'storage.FileSystemStorageOverwriteFile'
# ...
[program:live_kofsite_gunicorn]
command=/home/kofcms/apps/kofcms/live/bin/python /home/kofcms/apps/kofcms/live/kofsite/manage.py run_gunicorn --log-file /home/kofcms/apps/kofcms/live/log/gunicorn.log -p /home/kofcms/apps/kofcms/live/pid/gunicorn.pid -w 3 -u kofcms -b 127.0.0.1:8510
environment=DEPLOY_ENV=live
directory=/home/kofcms/apps/kofcms/live
user=kofcms
autostart=true
autorestart=true
redirect_stderr=true