/etc/hermes.conf

#
# Hermes configurations 
# please edit to fit your needs.
# note that this must be a valid perl source code file because it get
# eval'ed. Check the syntax of this file with 'perl -cw Config.pm'. 
#
#--[ Logging Configuration ]---------------------------------------------------


%LOG = (
'params'    => {'name' => 'Hermes',
# either set the logname explicitely
'filename'  => '/var/log/hermes.log',
# OR specify the log path and set the log file name in code:
'logpath'   => '/var/log/hermes',
'min_level' => 'info' }
);


#--[ Default DB Configuration ]---------------------------------------------------


$DB{ 'default' } = { 'type' =>  'mysql',
    'port' =>  3306,
    'name' =>  'hermes',
    'user' =>  'root',
    'pass' =>  'turbolinux' };


# DEBUG - set to 1 to enable debug. No mail is sent in debug mode.
$Debug = 0;


# the default delivery type, check with database content
# This is currently not used, but will be important soon.
$DefaultDelivery = 2;


# Notification Default Delay: Which delay for Notifications by default?
# also check with database content 
$NotifyDefaultDelay = 1;


#
# Default Sender - the stringid of the default sender user
$DefaultSender = 'bs@turbolinux.com.cn';


#
# Skip check from and to address
$SkipUserCheck = 1;


# Worker: the hour and minute when the daily messages should go out
$DailySendHour = 9;
$DailySendHourMinute = 12;
$SendWeekDay = 0;  # Send weekly digests on sunday


# The base path of the herminator on the local machine. Used to find
# the notification message templates which are maintained through the
# herminator web app
$HerminatorDir = "/srv/www/hermes/herminator";
#$HerminatorDir = "/root/hermes/herminator";
#$HerminatorDir = "/srv/www/hermes/herminator";
#$HerminatorDir = "/var/lib/hermes";


# Enable jabber initialisation in hermesworker. This setting should be
# switched off for debugging if jabber is not used.
$WorkerInitJabber = 0;


# Twitter - enable it by setting $DeliverTwitter to non zero and
# provide valid twitter credentials as attributes to the delivery
# in the database
$DeliverTwitter = 1;


# Debug Twitter - set to non zero to debug twitter. The twitter sending
# routine is called but does not do anything but returning a valid id.
$DebugTwitter = 0;


#
# OBS API Connection, the top level url of the OBS incl. port
$OBSAPIBase = "http://api.turbolinux.com.cn";
#
# the OBS API credentials
$OBSAPIUser = 'Admin';
#$OBSAPIPwd  = 'opensuse';
$OBSAPIPwd  = 'turbolinux';


# OBS max response size: Specifiy the maximum response body size in byte.
$OBSMaxResponseSize = 1024;


#
# GPG Mail Signing
# Enable this to make Hermes sending out signed emails.
# Note that this can have a performance impact. Also make sure your key is
# protected enough!
# Switched off by default
$EnableMailSigning = 0;
$GPGKeyId      = '';
$GPGPassphrase = '';
$GPGHome       = '';


#



# authentication setting
# Use the term 'ichain' to use Novell iChain authentication.
# Use ichaintest-<name> to simulate iChain in devel environment.
# Use the term 'http-server' to use basic authentication handled by 
# http server. That can be basic auth or LDAP for example.
#$authentication = "ichaintest-Admin";
$authentication = "http-server";


# leave the one at the end.
1;
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值