Files
cloud-apache-container/pkg-cache/pkgcache-selfcheck.service
T

10 lines
262 B
Desktop File
Raw Normal View History

[Unit]
Description=pkg-cache self-check (stop nginx+registry when the cache is unhealthy)
Documentation=file:///usr/local/sbin/pkgcache-selfcheck
After=nginx.service
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/pkgcache-selfcheck
TimeoutStartSec=120
Nice=5