This commit is contained in:
Eduard Tolosa 2019-10-19 05:32:52 -05:00
parent 3f0fedf3bc
commit 8a6e99d13e
7 changed files with 71 additions and 29 deletions

View file

@ -0,0 +1,12 @@
[Unit]
Description=Monitor subdomains.
After=network-online.target
[Service]
Type=simple
ExecStart=bash -c "findomain_virustotal_token='' findomain_fb_token='' findomain_discord_webhook='' findomain -f domains.txt -m"
KillMode=process
KillSignal=SIGINT
[Install]
WantedBy=default.target

View file

@ -0,0 +1,10 @@
[Unit]
Description=Check for new subdomains.
[Timer]
OnBootSec=5min
OnUnitActiveSec=10min
Unit=findomain.service
[Install]
WantedBy=timers.target