From dbaaa0a16adaa70d629292646d432cac1e65451a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Le=C3=9Fmann=20=28=40MarkL4YG=29?= Date: Tue, 7 Jan 2025 17:34:35 +0100 Subject: [PATCH] Remove automatic cleanup section because it does not work - No systemd session is available for podman in crontab entries and there appears to be no proper way to get one without a PTY... --- docs/hosting-runners.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/hosting-runners.md b/docs/hosting-runners.md index d229bdf..c41693e 100644 --- a/docs/hosting-runners.md +++ b/docs/hosting-runners.md @@ -33,19 +33,10 @@ machinectl shell --uid forgejo-runner # <-- This is basically "sudo -Hi XXX" but ``` ```bash -systemctl --user enable --now podman.socket +systemctl --user enable --now podman.socket podman echo 'export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock' >> ~/.profile ``` -#### Automatic podman cleanup on reboot - -```bash -crontab -e -``` -```cronexp -@reboot podman system cleanup --all --force -``` - ### 4. Install the forgejo-runner ```bash