diff --git a/README.md b/README.md index 9a9af73..91d0a9b 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Monitor certificates generated for specific domain strings and associated, store CertStreamMonitor architecture relies on 3 scripts : - `certstreammonitor.py` - - this script runs as a daemon. + - this script runs as a daemon (you can use provided systemd unit example to automatize its usage) - reading the certstream feed, it selects hostnames covered by certificates that match your criteria (SearchKeyWords parameter in conf). - it writes these hostnames along with its certificate relevant informations to the database. - `scanhost.py` diff --git a/certstreammonitor.service b/certstreammonitor.service new file mode 100644 index 0000000..3c7af4a --- /dev/null +++ b/certstreammonitor.service @@ -0,0 +1,13 @@ +[Unit] +Description=Certificate Transparency monitoring +Requires=network.target +After=network.target + +[Service] +Type=simple +User=XXX +Group=YYY +ExecStart=/path/to/CertStreamMonitor/CertStreamMonitor.py -c /path/to/CertStreamMonitor/conf/example.conf + +[Install] +WantedBy=multi-user.target