Repository Public
1# systemd user unit for the SPIDER gateway on a Linux server (~/.config/systemd/user/).2[Unit]3Description=SPIDER gateway and orchestrator4After=network-online.target postgresql.service56[Service]7WorkingDirectory=%h/apps/spider8ExecStart=/bin/bash scripts/run.sh gateway9Restart=on-failure10RestartSec=311TimeoutStopSec=2012NoNewPrivileges=true13PrivateTmp=true14ProtectSystem=strict15ProtectHome=read-only16ReadWritePaths=%h/spider-data %h/.config/spider17MemoryMax=2G1819[Install]20WantedBy=default.target21