@@ -53,7 +53,6 @@ Full documentation for the osctrl project is available at [https://osctrl.net](h
5353For this repository, the most useful starting points are:
5454
5555- [ service/osctrld-sample.yaml] ( service/osctrld-sample.yaml ) for a YAML configuration example.
56- - [ service/osctrld.yaml] ( service/osctrld.yaml ) and [ service/osctrld.json] ( service/osctrld.json ) for additional config examples.
5756- [ service/linux/systemd.service] ( service/linux/systemd.service ) for Linux service deployment.
5857- [ service/darwin/net.osctrl.daemon.plist] ( service/darwin/net.osctrl.daemon.plist ) for macOS launchd deployment.
5958- [ SECURITY.md] ( SECURITY.md ) for vulnerability reporting and operator security guidance.
@@ -171,7 +170,7 @@ COMMANDS:
171170Validate configuration before launching :
172171
173172` ` ` shell
174- osctrld check-config --config /etc/osctrld/config .yaml
173+ osctrld check-config --config /etc/osctrld/osctrld .yaml
175174` ` `
176175
177176Generate a fresh config template :
@@ -183,26 +182,26 @@ osctrld default-config
183182Retrieve flags and certificates :
184183
185184` ` ` shell
186- osctrld flags --config /etc/osctrld/config .yaml
187- osctrld cert --config /etc/osctrld/config .yaml
185+ osctrld flags --config /etc/osctrld/osctrld .yaml
186+ osctrld cert --config /etc/osctrld/osctrld .yaml
188187` ` `
189188
190189Enroll a node :
191190
192191` ` ` shell
193- osctrld enroll --config /etc/osctrld/config .yaml
192+ osctrld enroll --config /etc/osctrld/osctrld .yaml
194193` ` `
195194
196195Verify a node :
197196
198197` ` ` shell
199- osctrld verify --config /etc/osctrld/config .yaml
198+ osctrld verify --config /etc/osctrld/osctrld .yaml
200199` ` `
201200
202201Run in daemon mode :
203202
204203` ` ` shell
205- osctrld service --config /etc/osctrld/config .yaml --interval 60
204+ osctrld service --config /etc/osctrld/osctrld .yaml --interval 60
206205` ` `
207206
208207In daemon mode, osctrld will :
@@ -219,14 +218,14 @@ In daemon mode, osctrld will:
219218` ` ` shell
220219cp osctrld /opt/osctrld/
221220cp service/linux/systemd.service /etc/systemd/system/osctrld.service
222- cp service/osctrld-sample.yaml /etc/osctrld/config .yaml
221+ cp service/osctrld-sample.yaml /etc/osctrld/osctrld .yaml
223222
224223systemctl daemon-reload
225224systemctl enable osctrld
226225systemctl start osctrld
227226` ` `
228227
229- Edit `/etc/osctrld/config .yaml` with the correct osctrl URL, environment, secret, and local osquery paths before starting the service in production.
228+ Edit `/etc/osctrld/osctrld .yaml` with the correct osctrl URL, environment, secret, and local osquery paths before starting the service in production.
230229
231230# ## 🍎 macOS launchd
232231
0 commit comments