Skip to content

Instantly share code, notes, and snippets.

@ikeikeikeike
Created July 24, 2012 17:13
Show Gist options
  • Save ikeikeikeike/3171262 to your computer and use it in GitHub Desktop.
Save ikeikeikeike/3171262 to your computer and use it in GitHub Desktop.
upstart
description "APNS server for push notify"
start on runlevel [2345]
stop on runlevel [!2345]
script
cd /tmp
exec twistd -n -r epoll web --class=pyapns.server.APNSServer --port=7077
end script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment