Skip to content

Commit

Permalink
update readme, add service file
Browse files Browse the repository at this point in the history
  • Loading branch information
lfuelling committed Jun 7, 2020
1 parent 1172059 commit a113f84
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ A simple prometheus exporter that returns the `NotAfter` property of given domai
- Save changed version as `config.json` in working directory
4. Run (`./exporter`)
- Or `./exporter -config ~/config.json` if the config is somewhere else.
5. (Optional) You can use the `example-systemd.service` file to create the service.
- Make sure you edit the placeholder values to fit your setup!
13 changes: 13 additions & 0 deletions example-systemd.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=SSL Exporter
Wants=network-online.target
After=network-online.target

[Service]
User=USER
Group=USER
Type=simple
ExecStart=/path/to/exporter

[Install]
WantedBy=multi-user.target

0 comments on commit a113f84

Please sign in to comment.