1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../qscanq/runit.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- ./src/conf-svc.orig 2005-12-01 13:09:29.000000000 -0300
18 +++ ./src/conf-svc 2005-12-01 13:35:26.000000000 -0300
22 -The first line of this file gives the full path to the svc program from
23 -Dan Bernstein's daemontools package. You shouldn't need to change it,
24 -unless you've installed daemontools to a non-standard place, or are using
25 -an outdated version of daemontools.
27 --- ./src/run-cleanq.c.orig 2005-12-01 13:09:29.000000000 -0300
28 +++ ./src/run-cleanq.c 2005-12-01 13:31:55.000000000 -0300
38 --- ./src/install-cleanq.c.orig 2005-12-02 19:32:22.000000000 -0300
39 +++ ./src/install-cleanq.c 2005-12-02 19:51:45.000000000 -0300
41 if (chdir("log") == -1)
42 strerr_die4sys(111,FATAL,"unable to chdir to ", r, "/log: ");
43 makedir("main",02755,auto_loguid,0);
44 + fn = "main/config"; start(); outs(auto_cqlog); finish();
46 /* Create the "run" script */
50 outs("#!/bin/sh\nexec setuidgid ");
52 - outs(" multilog t \\\n ");
54 - outs("\\\n ./main\n");
55 + outs(" svlogd -t ./main\n");