--- /dev/null
+description "Start the cron daemon"
+author "IPFire Team"
+
+start on stopped mountfs
+stop on shutdown
+
+console output
+
+respawn
+exec /usr/sbin/fcron -f
+
+post-start script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Starting Cron Daemon..."
+end script
+
+post-stop script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Stopping Cron Daemon..."
+end script
--- /dev/null
+description "Starts the firewall"
+author "IPFire Team"
+
+start on starting network
+stop on stopped network
+
+console output
+
+pre-start script
+ firewall start
+end script
+
+post-stop script
+ firewall stop
+end script
--- /dev/null
+description "Starts the hardware abstraction layer daemon"
+author "IPFire Team"
+
+start on started messagebus
+stop on stopping messagebus
+
+console output
+
+respawn
+exec /usr/sbin/hald --use-syslog --daemon=no
+
+post-start script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Starting HAL Daemon..."
+end script
+
+post-stop script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Stopping HAL Daemon..."
+end script
--- /dev/null
+description "Start lighttpd"
+author "IPFire Team"
+
+start on started network
+stop on stopping network
+
+console output
+
+exec /usr/sbin/lighttpd -f /etc/lighttpd.conf
+
+post-start script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Starting Lighttpd Daemon..."
+end script
+
+post-stop script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Stopping Lighttpd Daemon..."
+end script
--- /dev/null
+description "Starts the message bus daemon"
+author "IPFire Team"
+
+start on stopped mountfs
+stop on shutdown
+
+console output
+
+respawn
+exec /usr/bin/dbus-daemon --config-file=/etc/dbus-1/system.conf --no-fork
+
+pre-start script
+ dbus-uuidgen --ensure >/dev/null
+end script
+
+post-start script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Starting the D-Bus Messagebus Daemon..."
+end script
+
+post-stop script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Stopping the D-Bus Messagebus Daemon..."
+end script
--- /dev/null
+description "Control the networking"
+author "IPFire Team"
+
+start on stopped mountfs
+stop on shutdown
+
+console output
+
+pre-start script
+ network start
+end script
+
+post-stop script
+ network stop
+end script
--- /dev/null
+description "Starts OpenLDAP slapd daemon"
+author "IPFire Team"
+
+start on started mountfs
+stop on shutdown
+
+console output
+
+respawn
+exec /usr/sbin/slapd -d
+
+post-start script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Starting OpenLDAP slapd..."
+end script
+
+post-stop script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Stopping OpenLDAP slapd..."
+end script
--- /dev/null
+description "OpenSSH Server"
+author "IPFire Team"
+
+start on started network
+stop on stopping network
+
+console output
+
+respawn
+exec /usr/sbin/sshd -D
+
+pre-start script
+ for algo in dsa rsa; do
+ [ -e "/etc/ssh/ssh_host_${algo}_key" ] && continue
+ /usr/bin/ssh-keygen -q -t ${algo} -N "" -f /etc/ssh/ssh_host_${algo}_key
+ done
+end script
+
+post-start script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Starting OpenSSH Server..."
+end script
+
+post-stop script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Stopping OpenSSH Server..."
+end script
--- /dev/null
+description "Start system log daemon"
+author "IPFire Team"
+
+start on stopped mountfs
+stop on shutdown
+
+console output
+
+respawn
+exec /sbin/syslog-ng -F
+
+post-start script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Starting System Log Daemon..."
+end script
+
+post-stop script
+ set -e
+ . /etc/init/functions
+ log_success_msg "Stopping System Log Daemon..."
+end script