docs: update home/homelab/idle-process
This commit is contained in:
parent
ef82e1e1b6
commit
1186067d29
@ -2,7 +2,7 @@
|
|||||||
title: Create a Background Idle Prevention Processs
|
title: Create a Background Idle Prevention Processs
|
||||||
description:
|
description:
|
||||||
published: true
|
published: true
|
||||||
date: 2025-06-25T13:43:53.845Z
|
date: 2025-06-25T13:53:00.203Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2025-06-25T11:49:23.320Z
|
dateCreated: 2025-06-25T11:49:23.320Z
|
||||||
@ -23,8 +23,8 @@ This guide describes how to create a `keep_alive.sh` script to prevent a headles
|
|||||||
```bash
|
```bash
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
while true; do
|
while true; do
|
||||||
echo "Keep alive" > /dev/null
|
script -q -c "echo 'Keep alive'" /dev/null
|
||||||
sleep 60
|
sleep 60
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
Save and exit by pressing `Ctrl+O`, `Enter`, then `Ctrl+X`.
|
Save and exit by pressing `Ctrl+O`, `Enter`, then `Ctrl+X`.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user