mirror of
https://github.com/troglobit/finit.git
synced 2026-10-31 13:00:32 +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 rsyslogd having started. Redirect any output to log.
|
||||
service [2345] <svc/usr/sbin/rsyslogd> log /usr/sbin/acpid -f -- ACPI daemon
|
||||
service [2345] <svc/rsyslogd> log acpid -f -- ACPI daemon
|
||||
@@ -1 +1 @@
|
||||
service [3] /usr/sbin/lightdm -- Light Display Manager
|
||||
service [3] lightdm -- Light Display Manager
|
||||
@@ -1,2 +1,2 @@
|
||||
# Simple NTP client (SNTP)
|
||||
service [2345] <net/route/default> /usr/sbin/ntpclient -n -L pool.ntp.org -- SNTP client
|
||||
service [2345] <net/route/default> ntpclient -n -L pool.ntp.org -- SNTP client
|
||||
@@ -1,2 +1,2 @@
|
||||
# Start rsyslogd as soon as possible, should always run
|
||||
service [S12345] /usr/sbin/rsyslogd -n -- Reliable and extended syslog daemon
|
||||
service [S12345] rsyslogd -n -- Reliable and extended syslog daemon
|
||||
@@ -1,4 +1,4 @@
|
||||
# Here we use XDM since it has few dependencies (relatively speaking).
|
||||
# It is also an example of a service without a -- description.
|
||||
# service [3] /usr/sbin/lxdm -- Lightweight Login Manager
|
||||
service [3] /usr/bin/xdm -nodaemon
|
||||
service [3] xdm -nodaemon
|
||||
Reference in new issue
Block a user