Update SELinux policy and move log configuration to /etc
[gruntmaster-daemon.git] / gruntmaster-exec
CommitLineData
da905f9e
MG
1#!/usr/bin/perl -w
2use v5.14;
3use strict;
4
5use BSD::Resource qw/setrlimit RLIMIT_AS RLIMIT_FSIZE/;
6use sigtrap qw/XFSZ/;
7
8##################################################
9
10my ($mlimit, $olimit, @args) = @ARGV;
11
12setrlimit RLIMIT_AS, $mlimit, $mlimit or die $! if $mlimit;
13setrlimit RLIMIT_FSIZE, $olimit, $olimit or die $! if $olimit;
14exec @args;
This page took 0.019397 seconds and 4 git commands to generate.