Package Details: ananicy-s6 1-1

Git Clone URL: (read-only, click to copy)
Package Base: ananicy-s6
Description: Ananicy - is Another auto nice daemon, with community rules support
Upstream URL:
Licenses: ISC
Submitter: shoober420
Maintainer: shoober420
Last Packager: shoober420
Votes: 1
Popularity: 0.000000
First Submitted: 2021-01-17 18:30 (UTC)
Last Updated: 2021-02-03 18:53 (UTC)

Latest Comments

shoober420 commented on 2021-01-25 03:26 (UTC) (edited on 2021-01-25 03:27 (UTC) by shoober420)

I talked with heliocat on IRC, one of the core members of s6, and he walked me through a proper implementation of ananicy for s6. The changes have been uploaded. Big thanks to heliocat again for all the help.

shoober420 commented on 2021-01-21 15:22 (UTC) (edited on 2021-01-21 16:56 (UTC) by shoober420)

@eschwartz Out of curiosity, I ran diff on both files. linuxergr adds “os.system(‘sysctl -e kernel.sched_autogroup_enabled=0’) to this file, and that’s it. We both know this can be done elsewhere, so not much of a “patch” as he claims lolol. Thanks again for all the info.

shoober420 commented on 2021-01-21 15:07 (UTC)

It for sure seems to work on my system. I get a string of messages about ananicy loading the rules when I boot and also have “renice” messages in terminal when running programs. I knew something was shady when he didn’t do a pull request on the main ananicy GitHub for his “patches” lolol. Very sus

eschwartz commented on 2021-01-21 14:18 (UTC)

Great, this means that the ill-advised patch to the file that his "fork" added is fully obsolete and the actual upstream github project is completely fine to use.

(I'll assume if the "start" file works for you, that s6 does indeed implement it. I don't use s6 and reading the gentoo wiki page on it isn't a replacement for experience.)

shoober420 commented on 2021-01-21 14:09 (UTC)

@eschwartz Thank you so much for the info. I saw linuxergr added a finish file for his runit shell scripts, but not for his s6 ones. I've added "ananicy.start" and "ananicy.finish" files to this package. I added you as a contributor as well.

eschwartz commented on 2021-01-21 02:04 (UTC)

In order to properly match the example upstream systemd service, these s6 service files need to:

  • run sysctl -e kernel.sched_autogroup_enabled=0 before exec'ing the ananicy program (I checked the Gentoo wiki, it doesn't seem s6 implements the daemontools-encore/runit "start" file)
  • exec the main program in the "run" file (currently being done)
  • run sysctl -e kernel.sched_autogroup_enabled=1 in the "finish" file, see

Ignore @linuxergr's terribly wrong implementation of the service files.