use sfaadmin.py rather than more fragile sfaadmin in scripts
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 4 Sep 2012 09:44:17 +0000 (11:44 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 4 Sep 2012 09:44:17 +0000 (11:44 +0200)
not all people use rpm to install

init.d/sfa

index 6a3ed37..69cf6f6 100755 (executable)
@@ -233,7 +233,8 @@ function db_start () {
        check
     fi
     check
-    sfaadmin reg sync_db
+    # mention sfaadmin.py instead of just sfaadmin for people who do not install through rpm
+    sfaadmin.py reg sync_db
 
     MESSAGE=$"SFA: Checking for PostgreSQL server"
     echo -n "$MESSAGE"