]> err.no Git - dak/commitdiff
debianqueued: move log and pid files to run subdirectory
authorAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Jan 2013 14:20:02 +0000 (15:20 +0100)
committerAnsgar Burchardt <ansgar@debian.org>
Sat, 19 Jan 2013 14:20:02 +0000 (15:20 +0100)
The dak-unpriv user needs to be able to write these files.

tools/debianqueued-0.9/config
tools/debianqueued-0.9/config-upload

index 4f94796d8afd2b79be661e9011b7d0b8f6d46dc2..ac90f88ca21ea8ae6197eb16f7daa4740a542486 100644 (file)
@@ -84,10 +84,10 @@ $statusdelay = 30;
               "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-sparc-keyring.gpg");
 
 # our log file
-$logfile = "$queued_dir/log";
+$logfile = "$queued_dir/run/log";
 
 # our pid file
-$pidfile = "$queued_dir/pid";
+$pidfile = "$queued_dir/run/pid";
 
 # upload method (ssh, copy, ftp)
 $upload_method = "copy";
index 47f456da0b14feaef9f2d635ff743448bcf74607..d0e6fda97fd46f01c8d4fe75718b3fdec07fc3ea 100644 (file)
@@ -84,10 +84,10 @@ $statusdelay = 30;
               "/srv/keyring.debian.org/keyrings/buildd-keyrings/buildd-sparc-keyring.gpg");
 
 # our log file
-$logfile = "$queued_dir/log";
+$logfile = "$queued_dir/run/log";
 
 # our pid file
-$pidfile = "$queued_dir/pid";
+$pidfile = "$queued_dir/run/pid";
 
 # upload method (ssh, copy, ftp)
 $upload_method = "ftp";