Visit Our UNIX and Linux User Community


Creating a Daemon??


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Creating a Daemon??
# 1  
Old 04-12-2005
Creating a Daemon??

How in the world do you create a daemon and get it to start with a startup script? could someone tell me in detail im going nuts...thanks
# 2  
Old 04-12-2005
what do you need a daemon process for? ... anyways, it can be any program that does it's work in the background ... see startup files in /etc/rc?.d/S* (solaris), /sbin/rc?.dS* (hp-ux), etc. for reference on how to format auto startup files ....

Last edited by Just Ice; 04-12-2005 at 06:53 PM.. Reason: spelling

Previous Thread | Next Thread
Test Your Knowledge in Computers #111
Difficulty: Easy
The Unix version with the largest installed base in 2019 is macOS.
True or False?

9 More Discussions You Might Find Interesting

1. Programming

Daemon process

I wish to make a process run in the background, but only one instance of it, and not many, so when the program is loaded, it has to check whether another instance of the same program is running and if so to exit. How do I do this ? (4 Replies)
Discussion started by: sundaresh
4 Replies

2. Homework & Coursework Questions

Creating a .profile, displaying system variables, and creating an alias

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is what I am supposed to do, word for word from my assignment page: 1. Create/modify and print a... (2 Replies)
Discussion started by: Jagst3r21
2 Replies

3. Shell Programming and Scripting

Creating a daemon to run in background

I am trying to create a service to always run and monitor a script that has a tendency to hang, we could not find what is causing it to hang so are in the process of completely reprogramming just about everything, however, that will take upto 6 months. So I need to create this to monitor the... (5 Replies)
Discussion started by: ukndoit
5 Replies

4. Shell Programming and Scripting

help needed with creating challenging bash script with creating directories

Hi, Can someone help me with creating a bash shell script. I need to create a script that gets a positive number n as an argument. The script must create n directories in the current directory with names like map_1, map_2 etcetera. Each directory must be contained within its predecessor. So... (7 Replies)
Discussion started by: I-1
7 Replies

5. Shell Programming and Scripting

créating a daemon under unix

hi i want to create a daemon under unix or linux but i don't really know how so i will be grateful if you provide me links with examples or /andx how to do it thanks (2 Replies)
Discussion started by: student00
2 Replies

6. Programming

Daemon

i want to write a daemon service which listens the 8080 port and write down all the details in one file. How can i do this ? (2 Replies)
Discussion started by: santosh123
2 Replies

7. Programming

Creating a Daemon

how to convert a c program into a Daemon. thanks in advance svh (2 Replies)
Discussion started by: svh
2 Replies

8. Shell Programming and Scripting

is this daemon effiecient???

I just wanted a script to touch my files once a day so they don't get removed once a day from cleaning, however I was wondering if it was the most effiecient method? comments are appreciated! command-prompt>nohup toucher.sh & Toucher.sh #!/usr/local/bin/bash while ((1)) do ... (2 Replies)
Discussion started by: Shakey21
2 Replies

9. Programming

daemon

I want to write background running program. How to use daemon function. Please send me source code. Thanks. (1 Reply)
Discussion started by: bat_oyu
1 Replies

Featured Tech Videos