mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 07:44:35 +02:00
forced copy for pandora agent service
This commit is contained in:
parent
e11649d74d
commit
e5f63454f7
@ -111,7 +111,8 @@ fi
|
|||||||
|
|
||||||
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