Skip to content

Commit

Permalink
changed executeable to full path and removed standard values for StdO…
Browse files Browse the repository at this point in the history
…ut/StdErr

Signed-off-by: Sebastian Schubert <[email protected]>
  • Loading branch information
bastischubert committed Mar 6, 2024
1 parent de56cb1 commit af0467d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,9 @@ Wants=network-online.target
[Service]
User=modbus_exporter
Group=nogroup
ExecStart=modbus_exporter --config.file='/etc/modbus_exporter.yml'
ExecStart=/usr/local/bin/modbus_exporter --config.file='/etc/modbus_exporter.yml'
Restart=on-failure
RestartSec=1
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit af0467d

Please sign in to comment.