mirror of
https://github.com/troglobit/finit.git
synced 2026-10-23 11:44:37 +00:00
contrib: alpine: update to use env: files for service arguments
- Check for env in /etc/conf.d on Alpine - Update all services with their respective env: file - Disable default modules, noew modprobe plugin should handle this - Add watchdog service - Rename syslogd -> syslog, in case we want to integrate sysklogd Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
da2dde879e
commit
ea9f88b9fb
10 files changed
+21
-19
No files matched your search
@@ -1,4 +1,5 @@
|
||||
docsdir := @docdir@/contrib/alpine/finit.d/available
|
||||
docs_DATA = acpid.conf crond.conf dropbear.conf getty.conf keymap.conf \
|
||||
lxdm.conf modules.conf ntpd.conf klogd.conf syslogd.conf
|
||||
docs_DATA = acpid.conf crond.conf dropbear.conf getty.conf keymap.conf \
|
||||
lxdm.conf modules.conf ntpd.conf klogd.conf syslog.conf \
|
||||
watchdog.conf
|
||||
EXTRA_DIST = $(docs_DATA)
|
||||
@@ -1 +1 @@
|
||||
service [2345] <pid/syslogd> crond -f -S -c /etc/crontabs -- Cron daemon
|
||||
service [2345] <pid/syslogd> env:-/etc/conf.d/crond crond -f -S $CRON_OPTS -- Cron daemon
|
||||
@@ -1,2 +1,2 @@
|
||||
# Start SSH daemon as soon as basic networking comes up
|
||||
service [2345] dropbear -R -F -- Dropbear SSH daemon
|
||||
service [2345] env:-/etc/conf.d/dropbear dropbear -R -F $DROPBEAR_OPTS -- Dropbear SSH daemon
|
||||
@@ -1,2 +1,2 @@
|
||||
# Start klogd as soon as possible, after syslogd, should always run
|
||||
service [S12345] <pid/syslogd> klogd -n -- Kernel log daemon
|
||||
service [S12345] <pid/syslogd> env:-/etc/conf.d/klogd klogd -n $KLOGD_OPTS -- Kernel log daemon
|
||||
@@ -1,6 +1,6 @@
|
||||
## Linux kernel modules to load
|
||||
#module fbcon
|
||||
module button
|
||||
module evdev
|
||||
module mousedev
|
||||
module 8139cp
|
||||
#module button
|
||||
#module evdev
|
||||
#module mousedev
|
||||
#module 8139cp
|
||||
@@ -1,2 +1,2 @@
|
||||
# Silly Busybox ntpd has no option to use syslog when running in foreground
|
||||
service [2345] log <pid/syslogd> ntpd -n -N -p pool.ntp.org -- NTP daemon
|
||||
# Busybox ntpd has no option to use syslog when running in foreground
|
||||
service [2345] log <pid/syslogd> env:-/etc/conf.d/ntpd ntpd -n $NTPD_OPTS -- NTP daemon
|
||||
@@ -0,0 +1,2 @@
|
||||
# Start syslogd as soon as possible, should always run
|
||||
service [S12345] env:-/etc/conf.d/syslog syslogd -n $SYSLOGD_OPTS -- Syslog daemon
|
||||
@@ -1,2 +0,0 @@
|
||||
# Start syslogd as soon as possible, should always run
|
||||
service [S12345] syslogd -n -- Syslog daemon
|
||||
@@ -0,0 +1 @@
|
||||
service [S123456789] env:-/etc/conf.d/watchdog watchdog $WATCHDOG_OPTS $WATCHDOG_DEV -- System watchdog
|
||||
Reference in new issue
Block a user