mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 01:32:47 +01:00
Add more logging to setup process
This commit is contained in:
@@ -823,11 +823,11 @@ copy_salt_master_config() {
|
|||||||
logCmd "cp ../files/salt/master/salt-master.service /usr/lib/systemd/system/salt-master.service"
|
logCmd "cp ../files/salt/master/salt-master.service /usr/lib/systemd/system/salt-master.service"
|
||||||
fi
|
fi
|
||||||
info "Copying pillar and salt files in '$temp_install_dir' to '$local_salt_dir'"
|
info "Copying pillar and salt files in '$temp_install_dir' to '$local_salt_dir'"
|
||||||
logCmd "cp -Rv '$temp_install_dir'/pillar/ '$local_salt_dir'/"
|
logCmd "cp -Rv $temp_install_dir/pillar/ $local_salt_dir/"
|
||||||
if [ -d "$temp_install_dir"/salt ] ; then
|
if [ -d "$temp_install_dir"/salt ] ; then
|
||||||
logCmd "cp -Rv '$temp_install_dir'/salt/ $local_salt_dir/"
|
logCmd "cp -Rv $temp_install_dir/salt/ $local_salt_dir/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Restart the service so it picks up the changes
|
# Restart the service so it picks up the changes
|
||||||
logCmd "systemctl daemon-reload"
|
logCmd "systemctl daemon-reload"
|
||||||
logCmd "systemctl restart salt-master"
|
logCmd "systemctl restart salt-master"
|
||||||
|
|||||||
Reference in New Issue
Block a user