summarylogtreecommitdiffstats
path: root/nessus-agent.install
diff options
context:
space:
mode:
Diffstat (limited to 'nessus-agent.install')
-rw-r--r--nessus-agent.install3
1 files changed, 3 insertions, 0 deletions
diff --git a/nessus-agent.install b/nessus-agent.install
index bf4b43409d76..51164dd06366 100644
--- a/nessus-agent.install
+++ b/nessus-agent.install
@@ -38,6 +38,9 @@ post_install() {
${NESSUS_PREFIX}/sbin/nessusd -R
}
+ # Fix path for /usr/lib/systemd/system/nessusagent.service
+ ln -s /opt/nessus-agent/ /opt/nessus_agent
+
if [ "$NESSUS_PRODUCT" = "agent" ]; then
echo " - First, link this agent to the Nessus Manager with the '$NESSUS_PREFIX/sbin/nessuscli agent' command."
echo " Type '$NESSUS_PREFIX/sbin/nessuscli agent help' for more info."