Hello, osQuery automatically offline is there a go...
# general
d
Hello, osQuery automatically offline is there a good way to detect it I'm currently using a script to determine if the application is alive to restore osquery
đź‘Ť 1
s
If osquery is regularly crashing, you should investigate why. That’s not normal.
d
The main reason is that the server itself may restart or crash, so I want to know whether osquery has self-healing function or whether It can start osquery via Fleet
s
Each OS has its own way of restarting service automatically. On Linux with systemd (which I think you’re using?), that’s controlled by the
Restart=
flag in the service file. See https://www.freedesktop.org/software/systemd/man/systemd.service.html#Restart=
Also you want to make sure your
Type=
setting is correct https://www.freedesktop.org/software/systemd/man/systemd.service.html#Type=
âś… 1
d
Ok, thanks for your reply