57 lines
1.4 KiB
Makefile
57 lines
1.4 KiB
Makefile
# GNU Makefile listing dependencies between services when services are
|
|
# stopped
|
|
#
|
|
# rc[1-5].d dependencies
|
|
acpid : sendsignals
|
|
alsa :
|
|
consolekit :
|
|
cpufreqd : sendsignals
|
|
crond :
|
|
cups :
|
|
drbd : heartbeat
|
|
gpm :
|
|
haldaemon : wicd
|
|
heartbeat :
|
|
httpd :
|
|
iptables : sendsignals
|
|
lisa :
|
|
lisa4 :
|
|
localnet : network NetworkManager
|
|
logrotate :
|
|
mountfs : sendsignals network NetworkManager swap create_final_log
|
|
mrtg :
|
|
mysql :
|
|
named :
|
|
nessusd :
|
|
network : netfs vmware heartbeat drbd
|
|
NetworkManager : netfs vmware heartbeat drbd
|
|
netfs : samba
|
|
nscd :
|
|
ntpd :
|
|
openldap :
|
|
postgresql :
|
|
random :
|
|
samba :
|
|
snort :
|
|
splash :
|
|
sshd :
|
|
swap : sendsignals
|
|
udev : mountfs
|
|
virtualbox :
|
|
vmware :
|
|
wine :
|
|
xinetd :
|
|
wicd :
|
|
# services to be started last
|
|
sysklogd : $(filter-out sysklogd udev mountfs sendsignals create_final_log swap reboot halt,$(ALL_RUNLEVEL))
|
|
sendsignals : $(filter-out sendsignals acpid iptables localnet network udev mountfs network cpufreqd swap reboot halt,$(ALL_RUNLEVEL))
|
|
reboot : $(filter-out reboot,$(ALL_RUNLEVEL))
|
|
halt : $(filter-out halt,$(ALL_RUNLEVEL))
|
|
local :
|
|
|
|
|
|
create_final_log : sendsignals swap
|
|
@$(LS) -Srt $(TMP_DIR)/$(TMPFILE_PREFIX).$(JOB).* | $(XARGS) $(CAT) > $(FINAL_OUTPUT_FILE) 2>/dev/null
|
|
@$(RM) -f $(TMP_DIR)/$(TMPFILE_PREFIX).$(JOB).* 2>/dev/null
|
|
# EOF
|