# /etc/finit.conf: Example for Alpine Linux 3.4 # Modules to load #module qxl #module fbcon module button module evdev # Runlevel to start after bootstrap, runlevel 'S' runlevel 2 # Services to be monitored and respawned as needed service [S12345] /sbin/klogd -n -- Kernel log daemon service [S12345] /sbin/syslogd -n -- Syslog daemon # Network bringup script, blocks boot like run stanza, use below task instead #network /sbin/ifup -a ### Every line below can be a service/task per file in /etc/finit.d/*.conf ### # Network bringup not needed if /etc/network/interfaces is used. task [2345] log /sbin/ifup -a -- Networking # Depends on syslogd having started. Redirect any output to log. service [2345] log /usr/sbin/acpid -f -- ACPI daemon # Silly Busybox ntpd has no option to use syslog when running in foreground service [2345] log /usr/sbin/ntpd -n -N -p pool.ntp.org # Start SSH daemon as soon as basic networking comes up service [2345] /usr/sbin/dropbear -R -F -p 22 -- Dropbear SSH daemon service [2345] /usr/sbin/crond -f -S -c /etc/crontabs -- Cron daemon # Handle PWR button to shutdown/reboot -- useful in Qemu (virt-manager) service [2345] /sbin/acpid -f -- ACPI daemon # Consoles to start getty on when system is up tty /dev/tty1 tty /dev/tty2 tty /dev/tty3