assistant --autostart: Automatically ionices the daemons it starts.

This commit is contained in:
Joey Hess 2013-06-21 13:23:20 -04:00
parent b9448c31a3
commit d901ba1781
4 changed files with 15 additions and 3 deletions

View file

@ -40,6 +40,8 @@ bundledPrograms = catMaybes
, SysConfig.sha512
, SysConfig.sha224
, SysConfig.sha384
-- ionice is not included in the bundle; we rely on the system's
-- own version, which may better match its kernel
]
where
ifset True s = Just s

View file

@ -31,6 +31,7 @@ tests =
, TestCase "curl" $ testCmd "curl" "curl --version >/dev/null"
, TestCase "wget" $ testCmd "wget" "wget --version >/dev/null"
, TestCase "bup" $ testCmd "bup" "bup --version >/dev/null"
, TestCase "ionice" $ testCmd "ionice" "ionice --version >/dev/null"
, TestCase "gpg" $ maybeSelectCmd "gpg"
[ ("gpg", "--version >/dev/null")
, ("gpg2", "--version >/dev/null") ]