mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Issue with custom agent installation
This commit is contained in:
parent
454e6120e4
commit
f4e0e9f799
@ -152,8 +152,8 @@ uninstall () {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Stops the agent on uninstall
|
# Stops the agent on uninstall
|
||||||
if [ -f $PANDORA_BASE/etc/init.d/pandora_agent_daemon ]; then
|
if [ -f /etc/init.d/pandora_agent_daemon ]; then
|
||||||
$PANDORA_BASE/etc/init.d/pandora_agent_daemon stop 12> /dev/null
|
/etc/init.d/pandora_agent_daemon stop 12> /dev/null
|
||||||
else
|
else
|
||||||
echo "$PANDORA_BASE/etc/init.d/pandora_agent_daemon not found to stop agent"
|
echo "$PANDORA_BASE/etc/init.d/pandora_agent_daemon not found to stop agent"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user