Few tweaks to services
- KSM stop should split merged pages - Add NUMA-aware merging - Add smartd - Depend on mount.root for rootfs changes
This commit is contained in:
parent
a76685466b
commit
1836c92f38
|
@ -3,7 +3,7 @@
|
|||
. ../../APKBUILD.template
|
||||
|
||||
pkgname=nnd-s6-services
|
||||
pkgver=2.10
|
||||
pkgver=2.13
|
||||
pkgrel=0
|
||||
pkgdesc="Base services for s6"
|
||||
depends="s6-rc s6-portable-utils s6-linux-utils"
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
1
|
|
@ -0,0 +1,9 @@
|
|||
#!/bin/execlineb -P
|
||||
s6-envdir -i /etc/s6/env/path
|
||||
importas -i PATH PATH
|
||||
|
||||
emptyenv
|
||||
|
||||
export PATH $PATH
|
||||
|
||||
exec smartd -n
|
|
@ -0,0 +1 @@
|
|||
longrun
|
|
@ -0,0 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
export SYSPATH kernel/mm/ksm/merge_across_nodes
|
||||
export VAL 0
|
||||
|
||||
/usr/libexec/nnd/s6/sysfs
|
|
@ -0,0 +1 @@
|
|||
oneshot
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/execlineb -P
|
||||
export SYSPATH kernel/mm/ksm/merge_across_nodes
|
||||
|
||||
s6-envdir -i /etc/s6/env/sys.kernel-mm-ksm-merge_across_nodes
|
||||
|
||||
/usr/libexec/nnd/s6/sysfs
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/execlineb -P
|
||||
export SYSPATH kernel/mm/ksm/run
|
||||
export VAL 0
|
||||
export VAL 2
|
||||
|
||||
/usr/libexec/nnd/s6/sysfs
|
||||
|
|
Loading…
Reference in New Issue