Launchctl question
Launchctl question
- Subject: Launchctl question
- From: Tim Murison <email@hidden>
- Date: Mon, 30 Mar 2009 16:32:57 -0400
- Thread-topic: Launchctl question
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden