forced copy for pandora agent service

This commit is contained in:
Kevin Rojas 2020-08-28 14:18:14 +02:00
parent e11649d74d
commit e5f63454f7
1 changed files with 2 additions and 1 deletions

View File

@ -111,7 +111,8 @@ fi
if [ `command -v systemctl` ];
then
cp /usr/share/pandora_agent/pandora_agent_daemon.service /usr/lib/systemd/system/
echo "Copying new version of pandora_agent_daemon service"
cp -f /usr/share/pandora_agent/pandora_agent_daemon.service /usr/lib/systemd/system/
chmod -x /usr/lib/systemd/system/pandora_agent_daemon.service
# Enable the services on SystemD
systemctl enable pandora_agent_daemon.service