[OS X] Managing server start/stop
Following-up from this
Probably a good idea if installer would install server startup in login item teh standard way, as in: http://www.macworld.com/article/2047747/take-control-of-startup-and-login-items.html
it seems it can be achieved by the following command:
defaults write loginwindow AutoLaunchedApplicationDictionary -array-add '{ "Path" = "/Applications/YourAppName.app"; "Hide" = 0; }'
Actually Console app at startup should propose to launch server, if not available, and could enable (checkbox) to re-install in login items. One menu could enable to stop/kill the server process too.
Comments (4)
-
repo owner -
repo owner Yes, it is important. People were having problems with the server icon bouncing, blocking the system to shutdown, etc - and that is all due to the fact that mac doesn't like it when an app has no UI (ie is only a running process / server).
This also means there is less difference to the other supported OSes.
-
repo owner -
repo owner - Log in to comment
It looks like this is only for Applications, not daemons, though.