extras-buildsys/etc plague-server.config, 1.1, 1.2 plague-server.init, 1.1, 1.2
Daniel Williams (dcbw)
fedora-extras-commits at redhat.com
Mon Aug 15 03:18:21 UTC 2005
Author: dcbw
Update of /cvs/fedora/extras-buildsys/etc
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4617/etc
Modified Files:
plague-server.config plague-server.init
Log Message:
2005-08-14 Dan Williams <dcbw at redhat.com>
* Switch to new server config file format using ConfigParser
- Server config files are no longer python scripts
- Server now takes a mandatory -c option for config file location
- Server will write out a default config file at the specified location
if none exists
- Each target has its own config file, by default in /etc/plague/targets/
- CVSROOT and CVS_RSH are now target-specific, not server-wide
- Additional Package Arches are now target-specific, and reside in each
target's config file rather than server-wide
* "Scratch" targets are now supported; ie, they are targets that do not
contribute packages to a repository. Use the option "scratch=yes" in
the target's config file in the "General" section to make the target a
scratch target.
* Repository Scripts: you may now specify a script that is run after packages
are copied to a repository. Use the "repo_script" option in each target's
config file to specify a script for that target/repo. The script must
exit with result 0 on success, and > 0 on error. The script is given
one argument, which is the name of the target/repo which has just copied
packages. If the script fails, those listed in "admin_emails" in the
server config file will be mailed with the script's output. The script
is also killed if it takes longer than 1 hour to complete, since packages
cannot be built for the target while the script is running.
Index: plague-server.config
===================================================================
RCS file: /cvs/fedora/extras-buildsys/etc/plague-server.config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plague-server.config 11 Jul 2005 03:23:21 -0000 1.1
+++ plague-server.config 15 Aug 2005 03:18:19 -0000 1.2
@@ -1 +1 @@
-HOST=localhost
+CONFIG=/etc/plague/server/plague-server.cfg
Index: plague-server.init
===================================================================
RCS file: /cvs/fedora/extras-buildsys/etc/plague-server.init,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- plague-server.init 11 Jul 2005 03:23:21 -0000 1.1
+++ plague-server.init 15 Aug 2005 03:18:19 -0000 1.2
@@ -17,7 +17,7 @@
start() {
echo -n "Starting plague-server: "
- daemon plague-server -d -p /var/run/plague-server.pid -l /var/log/plague-server.log $HOST
+ daemon plague-server -c $CONFIG -d -p /var/run/plague-server.pid -l /var/log/plague-server.log
echo
touch /var/lock/subsys/plague-server
return 0
More information about the fedora-extras-commits
mailing list