OSX Tips – Turn off / Disable Apple Push Notifications from the Command Line

Push Notifications

You can disable or turn off Apple Push notifications from the command line with the following command:

sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.apsd.plist

And you can turn it back on again with the following:

sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.apsd.plist

You could then test to see if it is on or off with either:

ps aux | grep apsd

or:

sudo launchctl list | grep apsd
Share Button

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>