![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| 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 !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| initscript questions | urwannabefriend | UNIX for Dummies Questions & Answers | 5 | 04-04-2004 09:19 PM |
| initscript | urwannabefriend | UNIX for Dummies Questions & Answers | 2 | 03-28-2004 09:51 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
initscript again
hi...thanx all of you for clearing out my previous doubts....but i have some more
in the following, reload() { echo -n $"Reloading cron daemon configuration: " killproc crond -HUP retval=$? echo return $RETVAL 1. why is echo used here without any arguments??? 2.what does the argument -HUP do here? this is the crond script.... any answers??? also if i have to write my own server startup script, what should i do?
__________________
the future is open |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
1. It appears that echo is just being used to throw a newline.
2. As for the kill -HUP. Take a look at a brief outlook from man -s 3head signal SIGHUP 1 Exit Hangup (see termio(7I)) A Hangup tells most daemons to re-read their configuration files. Keith |
||||
| Google The UNIX and Linux Forums |