Created
July 24, 2012 17:13
-
-
Save ikeikeikeike/3171262 to your computer and use it in GitHub Desktop.
upstart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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