29 lines
910 B
Plaintext
29 lines
910 B
Plaintext
[Unit]
|
|
Description=AWOOOI non-110 Gitea runner user service, capacity 1
|
|
Documentation=file:/opt/awoooi/ops/runner/check-awoooi-non110-runner-readiness.sh
|
|
After=default.target
|
|
ConditionPathExists=/home/ollama/act-runner-awoooi/.awoooi-non110-runner-enabled
|
|
ConditionPathExists=/home/ollama/act-runner-awoooi/config.yaml
|
|
ConditionPathExists=/home/ollama/act-runner-awoooi/.runner
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/ollama/act-runner-awoooi
|
|
Environment=HOME=/home/ollama
|
|
ExecStartPre=/usr/bin/test -x /home/ollama/act-runner-awoooi/act_runner
|
|
ExecStartPre=/usr/bin/test -S /var/run/docker.sock
|
|
ExecStart=/home/ollama/act-runner-awoooi/act_runner daemon --config /home/ollama/act-runner-awoooi/config.yaml
|
|
Restart=always
|
|
RestartSec=20
|
|
KillSignal=SIGINT
|
|
TimeoutStartSec=120
|
|
TimeoutStopSec=3700
|
|
CPUQuota=200%
|
|
MemoryHigh=6G
|
|
MemoryMax=8G
|
|
TasksMax=512
|
|
NoNewPrivileges=true
|
|
|
|
[Install]
|
|
WantedBy=default.target
|