Sindbad~EG File Manager
| Current Path : /proc/thread-self/root/sbin/ |
|
|
| Current File : //proc/thread-self/root/sbin/imunify-auditd-log-reader-cfg-reload |
#!/usr/bin/bash
# This script copies is responsible for install auditd-log-reader configuration file
# received from imunify360 agent.
# It is assumed that imunify360 agent will trigger this script each time new configuration file is deployed.
SRC=/var/imunify360/files/auditd-log-reader/v1/config.yaml
DEST=/etc/imunify-auditd-log-reader/config.yaml
mkdir -p dir $(dirname $DEST)
cp -f $SRC $DEST
systemctl restart imunify-auditd-log-reader
Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists