Unix/Linux Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

how do i auto start application upon startup?

UNIX for Dummies Questions & Answers


Closed Linux or Unix Question    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 03-31-2004
doofie doofie is offline
Registered User
 
Join Date: Mar 2004
Last Activity: 31 March 2004, 11:44 PM EST
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
how do i auto start application upon startup?

sorry, i'm a newbie to unix...

but how do i or rather where do i write scripts that auto start my application e.g. Informix?

in Windows it would be services but in UNIX where can i auto start my informix program? To run informix i just type "oninit". And do i have to login to any user before i can autorun any program?

also, i understand to set environment vars, i have to edit my .profile file?

i add the below lines to that file but it doesnt seem to work?

informixdir=/opt/informix
export informixdir
path=$informixdir/bin:$path
export path


and is there any global environment file where i can edit 1 and it applies on all users who logon?

btw, i'm using SCO Unixware 7.

Thanks!
Sponsored Links
    #2  
Old Unix and Linux 04-01-2004
HOUSCOUS HOUSCOUS is offline
Registered User
 
Join Date: Feb 2002
Last Activity: 22 July 2008, 12:24 PM EDT
Location: Houston TX
Posts: 123
Thanks: 0
Thanked 0 Times in 0 Posts
Don't have S** here. If it manages like Linux, you might probably look for in these files:

/etc/rc.local, /etc/rc.sysinit, or /etc/rc.d/init.d
Sponsored Links
    #3  
Old Unix and Linux 04-01-2004
RTM's Unix or Linux Image
RTM RTM is offline Forum Advisor  
Registered User
 
Join Date: Apr 2002
Last Activity: 17 October 2014, 8:46 PM EDT
Location: On my motorcycle
Posts: 3,093
Thanks: 1
Thanked 33 Times in 9 Posts
Take a look at Automating program startup - you would want to use the rc scripts section for an application.
Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
file location for GNOME auto startup apps honglus Linux 1 02-25-2009 07:32 PM
Auto-Port Aggregation startup fails on boot kknigga HP-UX 1 08-13-2008 04:25 PM
auto-startup a process champion UNIX for Dummies Questions & Answers 1 11-20-2002 08:56 AM
hpux startup process, AUTO file? yls177 HP-UX 5 11-11-2002 06:34 PM
auto startup of a program exoron UNIX for Dummies Questions & Answers 2 09-13-2001 09:00 AM



All times are GMT -4. The time now is 02:13 PM.