Add a postcommand value for /etc/ipod.conf, to make the value take effect.
authorStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 29 Nov 2007 23:49:25 +0000 (23:49 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Thu, 29 Nov 2007 23:49:25 +0000 (23:49 +0000)
db-config

index 7a414e8..955a415 100755 (executable)
--- a/db-config
+++ b/db-config
@@ -437,6 +437,7 @@ def main():
          'always_update': False},
 
         # Ping of death configuration
+        # the 'restart' postcommand doesn't work, b/c the pod script doesn't support it.
         {'enabled': True,
          'source': 'PlanetLabConf/ipod.conf.php',
          'dest': '/etc/ipod.conf',
@@ -444,7 +445,7 @@ def main():
          'file_owner': 'root',
          'file_group': 'root',
          'preinstall_cmd': '',
-         'postinstall_cmd': '',
+         'postinstall_cmd': '/etc/init.d/pod start',
          'error_cmd': '',
          'ignore_cmd_errors': False,
          'always_update': False},