zq-artifact-publisher.service 534 B

123456789101112131415161718192021222324
  1. [Unit]
  2. Description=ZQ internal-to-external artifact publisher
  3. After=network-online.target docker.service
  4. Wants=network-online.target
  5. Conflicts=zq-upload-sync.service
  6. [Service]
  7. Type=simple
  8. User=root
  9. Group=root
  10. Environment=ZQ_SYNC_INTERVAL=5
  11. Environment=ZQ_FULL_CHECK_INTERVAL=600
  12. Environment=ZQ_DRY_RUN=0
  13. ExecStart=/usr/local/sbin/zq-artifact-publisher.sh watch
  14. Restart=always
  15. RestartSec=5
  16. Nice=10
  17. IOSchedulingClass=best-effort
  18. IOSchedulingPriority=7
  19. StandardOutput=journal
  20. StandardError=journal
  21. [Install]
  22. WantedBy=multi-user.target