From 3a1726b8d7dbc9c057b9adcd6baf1807086d21c2 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Thu, 17 Dec 2009 12:03:41 +0000 Subject: [PATCH] 2009-12-17 Miguel de Dios * DEBIAN/postinst: change the code to insert as service the server and the server tentacle. Fixes: 2911327 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2210 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_server/ChangeLog | 6 ++++++ pandora_server/DEBIAN/postinst | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pandora_server/ChangeLog b/pandora_server/ChangeLog index 813ef23c83..c701a0a3ad 100644 --- a/pandora_server/ChangeLog +++ b/pandora_server/ChangeLog @@ -1,3 +1,9 @@ +2009-12-17 Miguel de Dios + + * DEBIAN/postinst: change the code to insert as service the server and + the server tentacle. + Fixes: 2911327 + 2009-12-16 Raul Mateos * DEBIAN/make_deb_package.sh, lib/PandoraFMS/Config.pm, README, diff --git a/pandora_server/DEBIAN/postinst b/pandora_server/DEBIAN/postinst index 921f9427d9..24d0645653 100755 --- a/pandora_server/DEBIAN/postinst +++ b/pandora_server/DEBIAN/postinst @@ -71,11 +71,11 @@ mkdir /etc/pandora 2> /dev/null chmod 770 /etc/pandora/pandora_server.conf echo "Linking startup script to /etc/rc2.d" -ln -s /etc/init.d/pandora_server /etc/rc2.d/S90pandora_server +update-rc.d pandora_server defaults # Tentacle server install echo "Installing tentacle server in /etc/rc2.d/S80tentacle_serverd" -ln -s /etc/init.d/tentacle_serverd /etc/rc2.d/S80tentacle_serverd +update-rc.d tentacle_serverd defaults if [ -d /etc/cron.daily ] then