SPB Git

Repository Public

spider-worker.service 645 B 25 lines ini

1# systemd user unit for a SPIDER worker on a Linux server (HTTP and browser capabilities; no OCR, no MLX).2[Unit]3Description=SPIDER worker4After=network-online.target56[Service]7WorkingDirectory=%h/apps/spider8Environment=SPIDER_CAPABILITIES=http,browser9ExecStart=/bin/bash scripts/run.sh worker10Restart=on-failure11RestartSec=512# the worker finishes its running tasks (up to 60 s) and gives the rest back before stopping13TimeoutStopSec=7514KillSignal=SIGTERM15NoNewPrivileges=true16PrivateTmp=true17ProtectSystem=strict18ProtectHome=read-only19ReadWritePaths=%h/.cache %h/.config/spider20MemoryMax=6G21TasksMax=20002223[Install]24WantedBy=default.target25
Files main
Menu

Theme