From 757de9e27a8ce4f2d3d1acddb1eac4e66f4f0287 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Sun, 15 Jul 2018 08:40:58 +0200 Subject: [PATCH] [mod] make things more interesting --- run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run.py b/run.py index bfbbfe5..740041f 100644 --- a/run.py +++ b/run.py @@ -129,7 +129,7 @@ async def run_job(worker, job): # fake stupid command, whould run CI instead print(f"Starting job {job.name}...") - command = await asyncio.create_subprocess_shell("/usr/bin/tail /var/log/auth.log", + command = await asyncio.create_subprocess_shell("/usr/bin/tail -n 100 /var/log/auth.log", stdout=asyncio.subprocess.PIPE, stderr=asyncio.subprocess.PIPE)