09-16-2002
program that boots at OS startup
Hi All:
I wanted to know if i can write a program in UNIX, a program that does not run under a particular user login, but starts up at BOOT time.
Are there any online material that i could look into to do that.
Appreciate the help.
Thanks,
Preetham
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i make a program run at system startup?
is there a hirarchy i have to consider?
is there any equivalent to an NT "Service" in unix?
how do you set it up?
thanx
Ron (2 Replies)
Discussion started by: exoron
2 Replies
2. Solaris
I have a NIS environment using all Solaris 9 systems. After all kinds of trobleshooting i am to the point where I can login to a NIS account from a client system. However, the logon process starts and the splash screen is displayed and then the desk top is displayed but then it flashes and kicks... (1 Reply)
Discussion started by: meyersp
1 Replies
3. Shell Programming and Scripting
hi all
How can I make a program start up automatically after the computer restart/startup in fedora?
something like:
... Establish a shell then run some of command code.
Thanks for Help!! (1 Reply)
Discussion started by: munna_dude
1 Replies
4. Red Hat
Hi,
I'm a bit of a newbie, so please bare with me. I installed Fedora 10 on a Dell Latitude D610 a few weeks ago. The computer previously had Windows on it, but I wiped it clean. I've been trying out Fedora successfully for the past couple of weeks and I was able to use the computer as recently... (1 Reply)
Discussion started by: iansocool
1 Replies
5. OS X (Apple)
Hi all,
I want to execute a command when system boots. I tried to edit /etc/rc.common and add my command at the end of rc.common, but it does not work!
Anyone knows how to do it?
Thanks :) (6 Replies)
Discussion started by: andrewust
6 Replies
6. Ubuntu
hey all,,
I want to add comments when Ubuntu starts up..
now I know that there is a directory called /etc/init.d
which I can place my scripts there to run them at Ubuntu's startup..
but I prefer if there would be a file which runs when Ubuntu starts!!
because it is only one command. not... (2 Replies)
Discussion started by: eawedat
2 Replies
7. Shell Programming and Scripting
Hi ULFers,
I am trying to setup a (very) simple startup script on a centos 6.4 computer and it kind of failed.... Here are the details :
As said just above the computer setup is running a CentOS 6.4 x64, on this computer a vncserver is automatically started (by a chkconfig vncserver on), i... (1 Reply)
Discussion started by: pierpier
1 Replies
8. Shell Programming and Scripting
I copied the script from an AskUbuntu post -
#!/bin/bash
### BEGIN INIT INFO
# Provides: tomcat7
# Required-Start: $network
# Required-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop Tomcat server
### END INIT INFO
... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
9. HP-UX
hello all,
please can you help me crack this....
i have an hp-ux server which when after booting it does not completely boot to graphical. it stops aa black screen with only an hour glass showing.
at this stage only the mouse responds but the keyboard does not respond.
any idea to find... (5 Replies)
Discussion started by: steveGH
5 Replies
SETSID(1) User Commands SETSID(1)
NAME
setsid - run a program in a new session
SYNOPSIS
setsid [options] program [arguments]
DESCRIPTION
setsid runs a program in a new session. The command calls fork(2) if already a process group leader. Otherwise, it executes a program in
the current process.
OPTIONS
-c, --ctty
Set the controlling terminal to the current one.
-w, --wait
Wait for the execution of the program to end, and return the exit value of this program as the return value of setsid.
-V, --version
Display version information and exit.
-h, --help
Display help text and exit.
SEE ALSO
setsid(2)
AUTHOR
Rick Sladkey <jrs@world.std.com>
AVAILABILITY
The setsid command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/.
util-linux July 2014 SETSID(1)