forced copy for pandora agent service

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

View File

@ -102,7 +102,8 @@ mkdir -p /var/spool/pandora/data_out
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