Replacing sys.exit calls with integer values that correspond to /etc/init.d/skeleton on Ubuntu.