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

fix(agent): fix paths in agent.cfg #252

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
10 changes: 7 additions & 3 deletions setups/example/volumes/agent/agent.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# See https://github.com/MTConnect/cppagent#configuration for details


Devices = /data/agent/agent.xml
Devices = ./agent.xml
AllowPut = true # allow HTTP PUT or POST of data item values or assets. default false.
BufferSize = 17 # 2^n slots available for samples, events, conditions
# MonitorConfigFiles = true # wary of using this
Expand Down Expand Up @@ -34,12 +34,16 @@ logger_config {
# Stylesheets
# these convert xml to html
Files {
schemas {
Path = /mtconnect/data/schemas
Location = /schemas
}
styles {
Path = /etc/mtconnect/styles
Path = /mtconnect/data/styles
Location = /styles
}
Favicon {
Path = /etc/mtconnect/styles/favicon.ico
Path = /mtconnect/data/styles/favicon.ico
Location = /favicon.ico
}
}
Expand Down