site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Thread-index: AcmxdrW7Z7PjwEEqEki8ehk2LS0n+g== Thread-topic: Launchctl question User-agent: Microsoft-Entourage/12.15.0.081119 Hi, I'm trying to restart my launch agent running as a user from a script running as root. I tried the obvious: sudo -u my_user launchctl load /Library/LaunchAgents/myproduct.plist and I get "Socket is not connected." I've googled around a bit and found many people with the same problem, but no solutions. Does anyone here know a way around this? Thanks in advance, -Tim *********************************************************************** This e-mail and its attachments are confidential, legally privileged, may be subject to copyright and sent solely for the attention of the addressee(s). Any unauthorized use or disclosure is prohibited. Statements and opinions expressed in this e-mail may not represent those of Radialpoint. Le contenu de ce courriel est confidentiel, privilégié et peut être soumis à des droits d'auteur. Il est envoyé à l'intention exclusive de son ou de ses destinataires. Il est interdit de l'utiliser ou de le divulguer sans autorisation. Les opinions exprimées dans le présent courriel peuvent diverger de celles de Radialpoint. _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com