Files
meta-cyber-scle/recipes-scanners/wazuh/files/wazuh-agent.service
2023-07-13 06:49:00 +00:00

19 lines
422 B
Desktop File

[Unit]
Description=Wazuh agent
Wants=network-online.target
After=network.target network-online.target
[Service]
Type=forking
Environment="LD_LIBRARY_PATH=/var/ossec/lib"
ExecStart=/usr/bin/env /var/ossec/bin/wazuh-control start
ExecStop=/usr/bin/env /var/ossec/bin/wazuh-control stop
ExecReload=/usr/bin/env /var/ossec/bin/wazuh-control reload
KillMode=process
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target