Mac OS X,  Mac OS X Server,  Mass Deployment

Software Update Server Reset Script

Any time I need to get a bunch of cruft out of Software Update Server on OS X Server, I just reset it real quick. To do so, simply remove /Library/Server/Software Update. But first, it’s important to stop the service, and once removed, set the port back up (which isn’t done automatically), and then start the service (swupdate). As this has become somewhat routine, I made a micro-script of it here.

Screen Shot 2016-04-14 at 10.22.32 PM