mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
minor rephrasing
This commit is contained in:
parent
6abc0a59b4
commit
467b5d5103
@ -107,13 +107,14 @@ then
|
|||||||
cp -f /usr/share/pandora_agent/pandora_agent_daemon.service /usr/lib/systemd/system/
|
cp -f /usr/share/pandora_agent/pandora_agent_daemon.service /usr/lib/systemd/system/
|
||||||
chmod -x /usr/lib/systemd/system/pandora_agent_daemon.service
|
chmod -x /usr/lib/systemd/system/pandora_agent_daemon.service
|
||||||
# Enable the services on SystemD
|
# Enable the services on SystemD
|
||||||
systemctl enable pandora_agent_daemon.service
|
systemctl enable pandora_agent_daemon.service || chkconfig pandora_agent_daemon on
|
||||||
if [ "$?" -gt 0 ]
|
|
||||||
then
|
|
||||||
chkconfig pandora_agent_daemon on || echo "There was a problem configuring pandora_agent_daemon service to run on boot. Please enable it manually."
|
|
||||||
fi
|
|
||||||
else
|
else
|
||||||
chkconfig pandora_agent_daemon on || echo "There was a problem configuring pandora_agent_daemon service to run on boot. Please enable it manually."
|
chkconfig pandora_agent_daemon on
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "$?" -gt 0 ]
|
||||||
|
then
|
||||||
|
echo "There was a problem configuring pandora_agent_daemon service to run on boot. Please enable it manually."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" -gt 1 ]
|
if [ "$1" -gt 1 ]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user