mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
forced copy for pandora agent service
This commit is contained in:
parent
e5f63454f7
commit
cc32803303
@ -102,7 +102,8 @@ mkdir -p /var/spool/pandora/data_out
|
|||||||
|
|
||||||
if [ `command -v systemctl` ];
|
if [ `command -v systemctl` ];
|
||||||
then
|
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
|
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user