Skip to content

Instantly share code, notes, and snippets.

@jamesonjlee
Last active August 29, 2015 14:00
Show Gist options
  • Save jamesonjlee/11273143 to your computer and use it in GitHub Desktop.
Save jamesonjlee/11273143 to your computer and use it in GitHub Desktop.
sample local proxy of pypi using devpi
description "local proxy of pypi"
#
# https://pypi.python.org/pypi/dev-pi
#
start on (local-filesystems and runlevel [2345])
stop on runlevel [016]
setuid ubuntu
setgid ubuntu
exec /home/ubuntu/local-pypi/bin/devpi-server --serverdir /home/ubuntu/local-pypi/server --host 127.0.0.1 --port 7974
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment