Skip to content

Commit

Permalink
Fix: Use correct flag to specify port for smartctl exporter (canonica…
Browse files Browse the repository at this point in the history
  • Loading branch information
dashmage authored May 29, 2024
1 parent d9eea1e commit 1d12a79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/smartctl-exporter.service.j2
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ After=network-online.target
[Service]
Type=simple
PIDFile=/run/smartctl_exporter.pid
ExecStart=/opt/SmartCtlExporter/smartctl_exporter -port {{ PORT }}
ExecStart=/opt/SmartCtlExporter/smartctl_exporter --web.listen-address=:{{ PORT }}
User=root
Group=root
SyslogIdentifier=smartctl_exporter
Expand Down

0 comments on commit 1d12a79

Please sign in to comment.