mirror of
https://github.com/troglobit/finit.git
synced 2026-10-27 12:20:54 +00:00
contrib: simplify example service stanzas; skip path, reduce conds
- Absolut paths are only necessary in case of ambiguities - Without absulute paths conditions are shorter, e.g. <svc/syslogd> - Drop <net/lo/up> condition for SSH daemons, not necessary Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
5d7ce3a92b
commit
4a83c95d2b
20 files changed
+21
-21
No files matched your search
@@ -1,3 +1,3 @@
|
||||
# Handle PWR button to shutdown/reboot -- useful in Qemu (virt-manager)
|
||||
# Depends on syslogd having started. Redirect any output to log.
|
||||
service [2345] /sbin/acpid -f -- ACPI daemon
|
||||
service [2345] acpid -f -- ACPI daemon
|
||||
@@ -1 +1 @@
|
||||
service [2345] /usr/sbin/dhcpcd -B -M -- DHCP client
|
||||
service [2345] dhcpcd -B -M -- DHCP client
|
||||
@@ -1 +1 @@
|
||||
service [S12345] /sbin/dmeventd -f -- Device mapper event daemon
|
||||
service [S12345] dmeventd -f -- Device mapper event daemon
|
||||
@@ -1,2 +1,2 @@
|
||||
# Start klogd as soon as possible, should always run
|
||||
service [S12345] /sbin/klogd -n -- Kernel log daemon
|
||||
service [S12345] <svc/syslogd> klogd -n -- Kernel log daemon
|
||||
@@ -1 +1 @@
|
||||
service [2345] /usr/sbin/lxdm -- Lightweight Login Manager
|
||||
service [2345] lxdm -- Lightweight Login Manager
|
||||
@@ -1,2 +1,2 @@
|
||||
# Silly Busybox ntpd has no option to use syslog when running in foreground
|
||||
service [2345] log <svc/sbin/syslogd> /usr/sbin/ntpd -n -N -p pool.ntp.org -- NTP daemon
|
||||
service [2345] log <svc/syslogd> ntpd -n -N -p pool.ntp.org -- NTP daemon
|
||||
@@ -1,2 +1,2 @@
|
||||
# Start SSH daemon as soon as basic networking comes up
|
||||
service [2345] <net/lo/up> /usr/sbin/sshd -D -- OpenSSH daemon
|
||||
service [2345] sshd -D -- OpenSSH daemon
|
||||
@@ -1,2 +1,2 @@
|
||||
# Start syslogd as soon as possible, should always run
|
||||
service [S12345] /sbin/syslogd -n -- Syslog daemon
|
||||
service [S12345] syslogd -n -- Syslog daemon
|
||||
@@ -1 +1 @@
|
||||
service @uuidd:uuidd [2345] /sbin/uuidd -F -- UUID generation daemon
|
||||
service @uuidd:uuidd [2345] uuidd -F -- UUID generation daemon
|
||||
Reference in new issue
Block a user