restart backuppc
[BackupPC.git] / Makefile
index 540ce3f..43ce8a0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,8 @@ update:
        dropdb backuppc
        createdb backuppc
        createlang plpgsql backuppc
-       sudo -u backuppc rm -Rvf /data/BackupPC/kinosearch /data/BackupPC/dvd_tar/*
+       sudo -u backuppc rm -Rvf /data/BackupPC/kinosearch /data/BackupPC/dvd_tar/* /data/BackupPC/pc/dvd_tar/*
+       sudo -u backuppc /etc/init.d/BackupPC restart
        sudo -u backuppc ./bin/BackupPC_ASA_SearchUpdate -c -m 0
 
 reset: clean update