mirror of
https://github.com/YunoHost/yunorunner.git
synced 2024-09-03 20:05:52 +02:00
[mod] make things more interesting
This commit is contained in:
parent
9ed87d5cfd
commit
757de9e27a
1 changed files with 1 additions and 1 deletions
2
run.py
2
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)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue