From 7737abfd03bbc3d6dccf70b95d6eec0be9aeefee Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 12 Sep 2022 14:17:09 +0200 Subject: [PATCH] Docker to automatically restart woodpecker agent after reboot --- pages/02.linux/28.woodpecker-ci/default.en.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/02.linux/28.woodpecker-ci/default.en.md b/pages/02.linux/28.woodpecker-ci/default.en.md index 94bca1d..dc5af1d 100644 --- a/pages/02.linux/28.woodpecker-ci/default.en.md +++ b/pages/02.linux/28.woodpecker-ci/default.en.md @@ -90,6 +90,7 @@ Add these environment variables to enable GitLab in Woodpecker. -e WOODPECKER_MAX_PROCS=(number of parallel builds, def: 1) \ -e WOODPECKER_GRPC_SECURE=true \ -v /var/run/docker.sock:/var/run/docker.sock \ + --restart unless-stopped \ -d docker.io/woodpeckerci/woodpecker-agent:latest ```