2020-07-08 23:06:14 +00:00
|
|
|
global(parser.permitSlashInProgramName="on")
|
|
|
|
|
2020-07-10 20:50:25 +00:00
|
|
|
template(name="DynFile" type="string" string="/var/log/%programname%.log")
|
|
|
|
|
|
|
|
if ($programname startswith "kf2-srv") then
|
|
|
|
{
|
2020-07-11 21:52:42 +00:00
|
|
|
action(Type="omfile" DynaFile="DynFile" FileCreateMode="0640" Umask="0027" FileOwner="root" FileGroup="steam")
|
2020-07-10 20:50:25 +00:00
|
|
|
stop
|
|
|
|
}
|
2020-07-08 23:06:14 +00:00
|
|
|
|