Blogs
Podcasts
Customer Connect
Help
Browse
View all
View all Discussions
View all Documents
View all Blogs
View all Ideas
Register / Sign In
VMTN Communities
Register / Sign In
All
Toggle submenu
All
Cloud & SDCC
Cloud on AWS
Cloud on Dell EMC
vCloud
Cloud Foundation
vSphere
vCenter
Storage
Aria
Automation
Disaster Recovery
Virtualization
Networking
NSX
HCX
Digital Workspace
Horizon
Workspace ONE
Desktop Hypervisor
Fusion
Workstation
Modern Apps
Wavefront
Photon OS
Edu & Cert
Certifications
Education
IT Academy
Support
AppDefense
Skyline
Betas
VMware Code
Telco
Virtual Appliances
VMUG
Social
Channels
vExpert
Global
French
Simplified Chinese
Turkish
Spanish
German
Brazilian Portugese
Italian
Japanese
Arabic
Bahasa Indonesia
Polish
Cloud & SDCC
Toggle submenu
Join Cloud & SDDC
Cloud on AWS
Cloud on Dell EMC
vCloud
Cloud Foundation
vSphere
vCenter
Storage
Aria
Automation
Performance
Networking
Toggle submenu
Join Networking
NSX
HCX
Workspace
Toggle submenu
Join Workspace
Digital Workspace
Workspace ONE
Horizon
Desktop Hypervisor
Modern Apps
Toggle submenu
Join Modern Apps
Tanzu
Aria Operations for Apps
Photon OS
Edu & Cert
Toggle submenu
Join Education & Certification
Certified Instructor
IT Academy
Support
Toggle submenu
Join Support
AppDefense
Skyline
Betas
Toggle submenu
Join Betas
Flings
VMware Code
Virtual Appliances
VMUG
Global
French
Simplified Chinese
Turkish
Spanish
Russian
German
Brazilian Portugese
Italian
Japanese
Arabic
Bahasa Indonesia
Polish
CLOSE
All community
This category
This board
Knowledge base
Users
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
Search instead for
Did you mean:
VMware Technology Network
:
Cloud & SDDC
:
vCenter
:
vCenter Hyperic Discussions
:
Re: OSX Agent Automatic startup
VMware Cloud Community
Options
Subscribe to RSS Feed
Mark Topic as New
Mark Topic as Read
Float this Topic for Current User
Bookmark
Subscribe
Mute
Printer Friendly Page
mik_rose
Contributor
07-24-2008
04:24 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
OSX Agent Automatic startup
Hi again,
The windows agent has the ability of inserting it as a service. Is there any suggestions on an appropriate /System/Library/StartupItems/ script?
Mik
0
Kudos
All forum topics
Previous Topic
Next Topic
6 Replies
admin
Immortal
07-27-2008
05:57 PM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
mik_rose,
If you're using OSX 10.4 or newer, you should use launchd:
http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/launchd.8.html#//apple_ref/d...
If you're on 10.3 or older, or just want to use StartupItem to be old skool:
http://www.macdevcenter.com/pub/a/mac/2003/10/21/startup.html
--jeremy
0
Kudos
mik_rose
Contributor
07-30-2008
10:09 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Thanks Jeremy.
0
Kudos
mik_rose
Contributor
07-30-2008
10:15 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
So I would assume that running this command will add it to the start-up list?
launchd /usr/local/hyperic-hq-agent-3.2.4/hq-agent.sh start
0
Kudos
mik_rose
Contributor
07-30-2008
10:24 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
lol, nm i need to not be so lazy
launchd: [-d] [-- command [args ...]]
-d daemonize
-h this usage statement
PowerXProd1:~ root# launchd -d /usr/local/hyperic-hq-agent-3.2.4/hq-agent.sh start
0
Kudos
admin
Immortal
07-30-2008
10:28 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
You can use launchctl to load and unload, but you still need a property list. I've not done this myself, so I'm sorry to keep posting you links, but this one seems easier to follow than the Apple developer links I sent before:
http://www.macgeekery.com/tips/all_about_launchd_items_and_how_to_make_one_yourself
Let me know if that helps.
--jeremy
0
Kudos
admin
Immortal
07-30-2008
10:31 AM
Mark as New
Bookmark
Subscribe
Mute
Subscribe to RSS Feed
Permalink
Print
Report Inappropriate Content
Ahhh, perfect.
0
Kudos
Cookie Settings