Commit d1735677 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

Updated library path and run-as user/group

Change-Id: I6a41a0071fef3b82d4a21a650273ebbdd0ba645f
parent 565c8251
......@@ -22,7 +22,8 @@
use strict;
use warnings;
use lib('/usr/local/lib/policyd-2.1','/usr/lib/policyd-2.1','/usr/lib64/policyd-2.1','awitpt');
use lib('/usr/local/lib/cbpolicyd-2.1','/usr/lib/cbpolicyd-2.1',
'/usr/lib64/cbpolicyd-2.1','awitpt');
package cbp;
......@@ -57,7 +58,7 @@ sub configure {
return if (@_);
# Set defaults
$cfg->{'config_file'} = "/etc/cluebringer.conf";
$cfg->{'config_file'} = "/etc/cbpolicyd/cluebringer.conf";
$cfg->{'cache_file'} = '/var/run/cbpolicyd/cache';
$cfg->{'track_sessions'} = 0;
......
......@@ -22,8 +22,8 @@ Quotas
EOT
# User to run this daemon as
#user=
#group=
user=cbpolicyd
group=cbpolicyd
# Filename to store pid of parent process
#pid_file=/var/run/cbpolicyd/cbpolicyd.pid
......@@ -65,7 +65,7 @@ EOT
#log_level=2
# File to log to instead of stdout
#log_file=/var/log/cbpolicyd.log
#log_file=/var/log/cbpolicyd/cbpolicyd.log
# Log destination for mail logs...
# main - Default. Log to policyd's main log mechanism, accepts NO args
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment