smicallef / spiderfoot

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.
http://www.spiderfoot.net
MIT License
13.27k stars 2.29k forks source link

spiderfoot always unexpectedly closing / solution to run spiderfoot endlessly #1811

Open thistehneisen opened 1 year ago

thistehneisen commented 1 year ago

Please provide a description of the issue and any relevant error messages. Currently trying to run spiderfoot via nohup python3 sf.py -l 0.0.0.0:8443 && and trying various different methods, spiderfoot instance always kills itself somewhy.

What would be the official / verified approach to run spiderfoot endlessly and even if it gets killed for some reason (which I would want not to happen, as many scans get stuck half-scanned), it restarts automatically? Is there maybe a way to have "soft" errors?

bcoles commented 1 year ago

There's no official approach. Here's a service file for SystemD https://github.com/smicallef/spiderfoot/issues/186#issuecomment-678076345.

thistehneisen commented 1 year ago

For anyone interested, disown after nohup with the ending & seems to work.