diff --git a/templates/smartctl-exporter.service.j2 b/templates/smartctl-exporter.service.j2 index b273cafe..ef9fb374 100644 --- a/templates/smartctl-exporter.service.j2 +++ b/templates/smartctl-exporter.service.j2 @@ -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