On Thu, 29 Jun 2006 11:46:42 "Leif Thande" wrote: > Shouldn't the shutdown process look on /var/run/daemons to see what to > stop ?
Well, say you are running `httpd' which has been launched at boot-time. [EMAIL PROTECTED] ~]# cat /var/run/httpd.pid 5491 [EMAIL PROTECTED] ~]# ls /var/run/daemons/httpd /var/run/daemons/httpd Now, let's stop the daemon and check again : [EMAIL PROTECTED] ~]# /etc/rc.d/httpd stop :: Stopping HTTP Daemon [DONE] [EMAIL PROTECTED] ~]# cat /var/run/daemons/httpd cat: /var/run/daemons/httpd: Aucun fichier ou répertoire de ce type [EMAIL PROTECTED] ~]# ls /var/run/daemons/httpd ls: /var/run/daemons/httpd: Aucun fichier ou répertoire de ce type Now, if you Start the exact same daemon, using `/etc/rc.d/httpd start', above files will be recreated. So I assume that the daemon will be stopped when you shutdown the system. So, every daemon launched the Arch Way (TM) will be automatically shut down if needed. NB: excuse my poor english, I'm *very* tired. -- There is a god but he drinks. _______________________________________________ arch mailing list [email protected] http://www.archlinux.org/mailman/listinfo/arch
