OSDN Git Service

initial commit of ananicy service
authorlinuxer <linuxer@artixlinux.org>
Thu, 30 Sep 2021 14:22:32 +0000 (17:22 +0300)
committerlinuxer <linuxer@artixlinux.org>
Sat, 2 Oct 2021 18:20:38 +0000 (21:20 +0300)
AUTHORS
usr/share/66/service/ananicy [new file with mode: 0644]

diff --git a/AUTHORS b/AUTHORS
index 43aecd3..ed407c4 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -5,4 +5,4 @@ Eneryone that has contributed to the project:
 - teldra <teldra@rotce.de>
 - flexibeast <flexibeast@gmail.com>
 - Eric Vidal <eric@obarun.org> 
-- linuxer <linuxer@disoot.org>
+- linuxer <linuxer@disroot.org>
diff --git a/usr/share/66/service/ananicy b/usr/share/66/service/ananicy
new file mode 100644 (file)
index 0000000..e270388
--- /dev/null
@@ -0,0 +1,11 @@
+[main]
+@type = classic
+@version = 0.0.1
+@description = "ananicy daemon service"
+@user = (root)
+
+[start]
+@execute = ( if { sysctl -e kernel.sched_autogroup_enabled=0 }
+             ananicy start )
+[stop]
+@execute = ( sysctl -e kernel.sched_autogroup_enabled=1 )