Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add systemd service example #36

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down
13 changes: 13 additions & 0 deletions certstreammonitor.service
Original file line number Diff line number Diff line change
@@ -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