[hipl-commit] [trunk] Rev 3535: Ubuntu package installation did not start daemons properly. Fixed

  • From: Miika Komu <miika@xxxxxx>
  • To: hipl-commit@xxxxxxxxxxxxx
  • Date: Thu, 4 Feb 2010 21:35:08 +0200

Committer: Miika Komu <miika@xxxxxx>
Date: Thu Feb 04 21:35:02 2010 +0200
Revision: 3535
Revision-id: miika@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Branch nick: trunk

Log:
  Ubuntu package installation did not start daemons properly. Fixed

Modified:
  M  test/packaging/hipl-deb.spec

=== modified file 'test/packaging/hipl-deb.spec'
--- test/packaging/hipl-deb.spec        2010-02-03 17:27:20 +0000
+++ test/packaging/hipl-deb.spec        2010-02-04 19:35:02 +0000
@@ -161,12 +161,18 @@
 
 %post daemon
 update-rc.d hipd defaults 21
+invoke-rc.d --quiet hipd status >/dev/null && invoke-rc.d --force --quiet hipd 
stop
+invoke-rc.d hipd start
 
 %post firewall
 update-rc.d hipfw defaults 20
+invoke-rc.d --quiet hipfw status >/dev/null && invoke-rc.d --force --quiet 
hipfw stop
+invoke-rc.d hipfw start
 
 %post dnsproxy
 update-rc.d hipdnsproxy defaults 22
+invoke-rc.d --quiet hipdnsproxy status >/dev/null && invoke-rc.d --force 
--quiet hipdnsproxy stop
+invoke-rc.d hipdnsproxy start
 
 %preun daemon
 invoke-rc.d --quiet hipd status >/dev/null && invoke-rc.d --force --quiet hipd 
stop

Other related posts:

  • » [hipl-commit] [trunk] Rev 3535: Ubuntu package installation did not start daemons properly. Fixed - Miika Komu