- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Application to be ran upon startup
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 06:30 PM
11-21-2004 06:30 PM
Application to be ran upon startup
If I have an application that I want to be ran once the CDE startup, where shall I put it?
Thank you!
regards
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 06:41 PM
11-21-2004 06:41 PM
Re: Application to be ran upon startup
Have look at .dtprofile.
See man dtprofile.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 06:44 PM
11-21-2004 06:44 PM
Re: Application to be ran upon startup
There are two way to do it.
1. Put start stop script for your X application in /sbin/rc3.d. This is level in which X start. Use Start Stop Unix convention and use last number for your X app script.
2. Use you .dtprofile and add your app.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 07:05 PM
11-21-2004 07:05 PM
Re: Application to be ran upon startup
I cannot seems to find the command ".dtprofile", btw I am running 10.20b HPUX... and wat do I do to rc3.d?.. do I throw the program inside?
Thank u!
regards
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 07:31 PM
11-21-2004 07:31 PM
Re: Application to be ran upon startup
You could create a script which includes the relative command in that directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 07:35 PM
11-21-2004 07:35 PM
Re: Application to be ran upon startup
.dtprofile isn't program. It is a config file for your X session. Like start up script.
change dir to
# cd /
and
#cat .dtprofile
About start / stop scripts:
dir /sbin/rc3.d is dir where you must link script that is in /sbin/init.d/ directory.
in /sbin/init.d directory you have all scripts that start/stop services.
first you must go in /sbin/init.d
and create start stop script for your App
take a look template it will give you some points to start.
After that you must link your script into
/sbin/rc3.d
lake
# ln -s /sbin/init.d/app /sbin/rc3.d/S999app