Red Bear OS base baseline from 0.1.0 pre-patched archive
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
[unit]
|
||||
description = "Basic services"
|
||||
requires_weak = [
|
||||
"00_tmp",
|
||||
"00_ipcd.service",
|
||||
"00_ptyd.service",
|
||||
"00_pcid-spawner.service",
|
||||
]
|
||||
@@ -0,0 +1,6 @@
|
||||
[unit]
|
||||
description = "IPC daemon"
|
||||
|
||||
[service]
|
||||
cmd = "ipcd"
|
||||
type = "notify"
|
||||
@@ -0,0 +1,6 @@
|
||||
[unit]
|
||||
description = "PCI driver spawner"
|
||||
|
||||
[service]
|
||||
cmd = "pcid-spawner"
|
||||
type = "oneshot"
|
||||
@@ -0,0 +1,6 @@
|
||||
[unit]
|
||||
description = "PTY daemon"
|
||||
|
||||
[service]
|
||||
cmd = "ptyd"
|
||||
type = "notify"
|
||||
@@ -0,0 +1,7 @@
|
||||
[unit]
|
||||
description = "Sudo background handler"
|
||||
|
||||
[service]
|
||||
cmd = "sudo"
|
||||
args = ["--daemon"]
|
||||
type = "oneshot_async"
|
||||
@@ -0,0 +1,4 @@
|
||||
# FIXME change this to a service unit
|
||||
# clear and recreate tmpdir with 0o1777 permission
|
||||
rm -rf /tmp
|
||||
mkdir -m a=rwxt /tmp
|
||||
@@ -0,0 +1,9 @@
|
||||
[unit]
|
||||
description = "Configure network using DHCP"
|
||||
requires_weak = [
|
||||
"10_smolnetd.service",
|
||||
]
|
||||
|
||||
[service]
|
||||
cmd = "dhcpd"
|
||||
type = "oneshot_async"
|
||||
@@ -0,0 +1,7 @@
|
||||
[unit]
|
||||
description = "Networking"
|
||||
requires_weak = [
|
||||
"00_base.target",
|
||||
"10_smolnetd.service",
|
||||
"10_dhcpd.service",
|
||||
]
|
||||
@@ -0,0 +1,11 @@
|
||||
# FIXME rename to 10_netstack.service
|
||||
|
||||
[unit]
|
||||
description = "Network stack"
|
||||
requires_weak = [
|
||||
"00_pcid-spawner.service",
|
||||
]
|
||||
|
||||
[service]
|
||||
cmd = "netstack"
|
||||
type = "notify"
|
||||
@@ -0,0 +1,9 @@
|
||||
[unit]
|
||||
description = "Audio multiplexer"
|
||||
requires_weak = [
|
||||
"00_base.target",
|
||||
]
|
||||
|
||||
[service]
|
||||
cmd = "audiod"
|
||||
type = { scheme = "audio" }
|
||||
Reference in New Issue
Block a user