Move log configuration to /etc/gruntmasterd/
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 27 Jan 2014 09:23:30 +0000 (11:23 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 27 Jan 2014 12:01:02 +0000 (14:01 +0200)
lib/Gruntmaster/Daemon.pm
selinux/gruntmasterd.fc

index 6991b7a..4adf801 100644 (file)
@@ -149,7 +149,7 @@ sub got_job{
 }
 
 sub run{
-  Log::Log4perl->init('/etc/gruntmasterd-log.conf');
+  Log::Log4perl->init('/etc/gruntmasterd/gruntmasterd-log.conf');
   get_logger->info("gruntmasterd $VERSION started");
   chdir tempdir 'gruntmasterd.XXXX', CLEANUP => 1, TMPDIR => 1;
   SUBSCRIBE jobs => \&got_job;
index 6d67f32..f011981 100644 (file)
@@ -2,5 +2,5 @@
 /usr/(local/)?bin/gruntmaster-compile gen_context(system_u:object_r:gruntmaster_compile_exec_t, s0)
 /usr/(local/)?bin/gruntmaster-exec    gen_context(system_u:object_r:gruntmaster_job_exec_t, s0)
 /usr/(local/)?bin/gruntmaster-paged   gen_context(system_u:object_r:gruntmaster_paged_exec_t, s0)
-/etc/gruntmasterd-log.conf            gen_context(system_u:object_r:gruntmasterd_etc_t, s0)
+/etc/gruntmasterd(/.*)?               gen_context(system_u:object_r:gruntmasterd_etc_t, s0)
 /var/log/gruntmasterd                 gen_context(system_u:object_r:gruntmasterd_log_t, s0)
This page took 0.028552 seconds and 4 git commands to generate.