George Armhold
George Armhold

Reputation: 31074

OSX Mac App Store: how to install a daemon shell script

I'd like to write an app for the Mac App Store that involves installing a daemon. The daemon can be a dead-simple "Hello World" shell script, in either Bourne shell or Python. It should run automatically each time the machine boots.

I tried to get the script installed using packagemaker, but was never able to quite figure it out (and then later learned that packagemaker was not compatible with the App Store anyway).

Is there a way to install a shell script, such that it runs automatically on reboot for Mac App Store apps?

Upvotes: 2

Views: 2092

Answers (2)

Kenny Winker
Kenny Winker

Reputation: 12107

Possible change/flexibility in policy: http://itunes.apple.com/ca/app/wlancontroller/id415633950?mt=12

Seems to be almost a background app, which sends data to a central server that has a web interface.

I would not have expected this to be accepted, but it has.

Upvotes: 0

Will Hartung
Will Hartung

Reputation: 118764

I don't believe Mac App Store applications are allowed to run background processes. That's cited here, as an example (I have not read the technical guidelines).

Upvotes: 3

Related Questions