Eichhoernchen/SiriServer — Issue #109: SiriServer needs to be started manually? Here is a launchdaemon.
Author: autobuck
Created: 2012-02-06 16:43:26+00:00
State: open

I wrote this so the SiriServer would run independently, and restart on crashes, not that it has crashed so far, knock on wood.

On a Mac,
Save this as "net.siriserver.plist" and place in /Library/LaunchDaemons/
At a terminal, run "launchctl load net.siriserver.plist" to start the first time.

Probably is done differently on other platforms; feel free to modify and resubmit.

Label
net.siriserver
ProgramArguments

./startSiri.sh

RunAtLoad

WorkingDirectory
/Users/home/Code/siriserv/SiriServer

Content of startSiri.sh:

> python siriServer.py -p4443