sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master grimoire by Florian Franzmann (a83130b53ebf17a2f3e1ce83da0c747c0d0b8696)
- From: Florian Franzmann <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master grimoire by Florian Franzmann (a83130b53ebf17a2f3e1ce83da0c747c0d0b8696)
- Date: Mon, 1 Mar 2010 01:23:40 -0600
GIT changes to master grimoire by Florian Franzmann
<siflfran AT hawo.stw.uni-erlangen.de>:
ChangeLog | 3 +++
utils/niced/BUILD | 1 +
utils/niced/DETAILS | 15 +++++++++++++++
utils/niced/HISTORY | 3 +++
utils/niced/INSTALL | 1 +
utils/niced/PRE_BUILD | 1 +
utils/niced/init.d/niced | 15 +++++++++++++++
utils/niced/init.d/niced.conf | 4 ++++
8 files changed, 43 insertions(+)
New commits:
commit a83130b53ebf17a2f3e1ce83da0c747c0d0b8696
Author: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
Commit: Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
utils/niced: new spell, a renice daemon
diff --git a/ChangeLog b/ChangeLog
index caba5cd..322b45e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-03-01 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * utils/niced: new spell, a renice daemon
+
2010-02-26 Philippe "Puppet_Master" Caseiro <puppetmaster AT sourcemage.org>
* e-17/enlil: new spell, EFL based Photo Manager library
* e-17/enki: new spell, EFL based Photo Manager
diff --git a/utils/niced/BUILD b/utils/niced/BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/utils/niced/BUILD
@@ -0,0 +1 @@
+true
diff --git a/utils/niced/DETAILS b/utils/niced/DETAILS
new file mode 100755
index 0000000..6c75a75
--- /dev/null
+++ b/utils/niced/DETAILS
@@ -0,0 +1,15 @@
+ SPELL=niced
+ VERSION=0.8a
+ SOURCE="${SPELL}-current.sh"
+ SOURCE_URL[0]=http://jrweare.googlepages.com/${SOURCE}
+
SOURCE_HASH=sha512:2e264c4be349e8e8b4a9d18f23999fa12f0dab59f1d17ae66a91ff714d6dbc1609da09181e8053a2207bd9e4c49ee994f1c1d0032d85cb829e5d2f2b0c92629c
+#SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-"
+ WEB_SITE="http://jrweare.googlepages.com/niced.html"
+ LICENSE[0]=GPL
+ ENTERED=20100301
+ SHORT="a daemon that changes the priorities of running processes
based on process name, use and load"
+cat << EOF
+niced changes the priorities of running processes (using nice levels,
realtime
+levels, and realtime scheduling policies) based on process name, use and
+load. It reruns upon load change, upon screensaver changes, or periodically.
+EOF
diff --git a/utils/niced/HISTORY b/utils/niced/HISTORY
new file mode 100644
index 0000000..248704b
--- /dev/null
+++ b/utils/niced/HISTORY
@@ -0,0 +1,3 @@
+2010-03-01 Florian Franzmann <siflfran AT hawo.stw.uni-erlangen.de>
+ * BUILD, DETAILS, INSTALL, PRE_BUILD, init.d/niced{,.conf}: spell
created
+
diff --git a/utils/niced/INSTALL b/utils/niced/INSTALL
new file mode 100755
index 0000000..98d4a63
--- /dev/null
+++ b/utils/niced/INSTALL
@@ -0,0 +1 @@
+install -m 700 ${SOURCE_CACHE}/niced-current.sh
${INSTALL_ROOT}/usr/sbin/niced
diff --git a/utils/niced/PRE_BUILD b/utils/niced/PRE_BUILD
new file mode 100755
index 0000000..27ba77d
--- /dev/null
+++ b/utils/niced/PRE_BUILD
@@ -0,0 +1 @@
+true
diff --git a/utils/niced/init.d/niced b/utils/niced/init.d/niced
new file mode 100755
index 0000000..b200bf0
--- /dev/null
+++ b/utils/niced/init.d/niced
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+. /etc/sysconfig/niced
+
+PROGRAM=/usr/sbin/niced
+RUNLEVEL=S
+ARGS="$CONFIG"
+NEEDS="+local_fs"
+
+. /etc/init.d/smgl_init
+
+start()
+{
+ $PROGRAM $ARGS &
+}
diff --git a/utils/niced/init.d/niced.conf b/utils/niced/init.d/niced.conf
new file mode 100644
index 0000000..75d9a59
--- /dev/null
+++ b/utils/niced/init.d/niced.conf
@@ -0,0 +1,4 @@
+# This is the niced config file.
+#
+# Set the CONFIG variable to pass startup parameters needed by your nice
daemon.
+CONFIG="-d"
- [SM-Commit] GIT changes to master grimoire by Florian Franzmann (a83130b53ebf17a2f3e1ce83da0c747c0d0b8696), Florian Franzmann, 03/01/2010
Archive powered by MHonArc 2.6.24.