fix(wp): agent state

This commit is contained in:
nyyu 2023-12-26 09:46:28 +01:00
parent ffc713920a
commit bffd01f93a
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# agent configuration # agent configuration
WOODPECKER_SERVER=localhost:9992 WOODPECKER_SERVER=localhost:9992
WOODPECKER_AGENT_CONFIG_FILE=/var/lib/woodpecker-agent/agent.conf
WOODPECKER_AGENT_SECRET="" WOODPECKER_AGENT_SECRET=""
WOODPECKER_HEALTHCHECK=false WOODPECKER_HEALTHCHECK=false
# WOODPECKER_MAX_WORKFLOWS=4 # WOODPECKER_MAX_WORKFLOWS=4

View File

@ -15,6 +15,7 @@ KillSignal=SIGINT
LimitNOFILE=8192 LimitNOFILE=8192
PrivateDevices=yes PrivateDevices=yes
DynamicUser=yes DynamicUser=yes
StateDirectory=woodpecker-agent
ReadWritePaths=/var/run/docker.sock ReadWritePaths=/var/run/docker.sock
[Install] [Install]