feat: server logs with 'steam' group
This commit is contained in:
parent
e3a9f8ecfe
commit
f096d40433
@ -1,8 +1,10 @@
|
||||
global(parser.permitSlashInProgramName="on")
|
||||
|
||||
$template NAMED_LOG,"/var/log/%programname%.log"
|
||||
template(name="DynFile" type="string" string="/var/log/%programname%.log")
|
||||
|
||||
if ($programname startswith "kf2-srv") then
|
||||
{
|
||||
action(Type="omfile" DynaFile="DynFile" FileCreateMode="0644" Umask="0022" FileOwner="root" FileGroup="steam")
|
||||
stop
|
||||
}
|
||||
|
||||
$FileCreateMode 0644
|
||||
$Umask 0022
|
||||
if $programname startswith 'kf2-srv' then ?NAMED_LOG
|
||||
& stop
|
||||
|
Loading…
Reference in New Issue
Block a user