more things
This commit is contained in:
parent
1cd4394841
commit
6e60709283
15 changed files with 1403 additions and 294 deletions
14
etc/init.rc
14
etc/init.rc
|
|
@ -2,7 +2,9 @@
|
|||
#
|
||||
# constructs:
|
||||
# service NAME /path/to/exe [args...]
|
||||
# user|group|oneshot|disabled|console|class|respawn|crash-*|setenv|cwd
|
||||
# user = ... | group = ... | class = ... | respawn = ... | crash-threshold = ...
|
||||
# crash-window = ... | setenv = ... | cwd = ... | seclabel = ...
|
||||
# oneshot | disabled | console (flag options, no value)
|
||||
#
|
||||
# on TRIGGER
|
||||
# start NAME | stop NAME | restart NAME
|
||||
|
|
@ -39,16 +41,16 @@ on boot
|
|||
|
||||
# the console service: bind stdio to /dev/console, always respawn.
|
||||
service console /sbin/getty -L ttyS0 115200 vt100
|
||||
class core
|
||||
class = core
|
||||
console
|
||||
user root
|
||||
user = root
|
||||
|
||||
# a long-lived example daemon. respawning is the default (always).
|
||||
service watchdog /usr/sbin/watchdog
|
||||
class core
|
||||
respawn always
|
||||
class = core
|
||||
respawn = always
|
||||
|
||||
# a one-shot job: runs once, exits, never respawns.
|
||||
service boot-logo /usr/bin/show-boot-logo
|
||||
class late
|
||||
class = late
|
||||
oneshot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue