nixos: move ExecStart to end of systemd children list
This commit is contained in:
parent
8a8f67bdda
commit
5d4fee3bf2
|
@ -40,7 +40,8 @@ in λ ( params
|
|||
Init::{
|
||||
, routes =
|
||||
parentRoutes [ "File_system", "Rtc", "Terminal", "Timer" ]
|
||||
, children = toMap
|
||||
, children =
|
||||
toMap
|
||||
{ vfs =
|
||||
Child.flat
|
||||
Child.Attributes::{
|
||||
|
@ -55,7 +56,9 @@ in λ ( params
|
|||
[ VFS.vfs
|
||||
( [ VFS.dir
|
||||
"dev"
|
||||
( [ VFS.dir "pipes" [ VFS.leaf "pipe" ]
|
||||
( [ VFS.dir
|
||||
"pipes"
|
||||
[ VFS.leaf "pipe" ]
|
||||
, VFS.leaf "log"
|
||||
, VFS.leaf "null"
|
||||
, VFS.leafAttrs
|
||||
|
@ -85,7 +88,9 @@ in λ ( params
|
|||
[ VFS.dir
|
||||
"store"
|
||||
[ VFS.fs
|
||||
VFS.FS::{ label = "nix-store" }
|
||||
VFS.FS::{
|
||||
, label = "nix-store"
|
||||
}
|
||||
]
|
||||
]
|
||||
]
|
||||
|
@ -124,7 +129,9 @@ in λ ( params
|
|||
]
|
||||
}
|
||||
}
|
||||
, ExecStart =
|
||||
}
|
||||
# [ { mapKey = "ExecStart"
|
||||
, mapValue =
|
||||
Child.flat
|
||||
Child.Attributes::{
|
||||
, binary = params.binary
|
||||
|
@ -165,6 +172,7 @@ in λ ( params
|
|||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
in Init.toChild init Init.Attributes::{=}
|
||||
|
|
Loading…
Reference in New Issue