fixed pid file
[BackupPC.git] / Makefile
index 1cc20ff..d796a5a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,20 +2,14 @@ all:
        @echo "make reset"
 
 clean:
-       dropdb backuppc
-       createdb backuppc
-       createlang plpgsql backuppc
        sudo chown backuppc cgi-bin/index.cgi
        sudo chmod u+s cgi-bin/index.cgi
 
 update:
-       sudo -u backuppc ./bin/BackupPC_updatedb -c
-
-tar:
-       sudo -u backuppc ./bin/BackupPC_incPartsUpdate
+       dropdb backuppc
+       createdb backuppc
+       createlang plpgsql backuppc
+       sudo -u backuppc ./bin/BackupPC_ASA_PostDump_SearchUpdate -c
 
-reset: clean update tar
+reset: clean update
 
-reindex:
-       sudo rm -Rf $(index)
-       echo sudo -u backuppc DEBUG=1 bin/BackupPC_updatedb -j -v 3