configurable busybox

allows modules to add to the busybox applets and change config
This commit is contained in:
Daniel Barlow committed 2023-03-10 18:40:45 +00:00
1 parent 8b2fcb5336
commit 225fc6fe51
10 files changed
+101 -20

No files matched your search

+1 -2
View File
@@ -3,7 +3,6 @@
, s6-rc
, s6
, lib
, busybox
, callPackage
, writeScript
, serviceFns
@@ -12,7 +11,7 @@ let
inherit (builtins) concatStringsSep;
output = service: name: "/run/service-state/${service.name}/${name}";
serviceScript = commands : ''
#!${busybox}/bin/sh
#!/bin/sh
exec 2>&1
. ${serviceFns}
${commands}