]> git.sur5r.net Git - bacula/bacula/blob - regress/win32/scripts/bacula.cmd
Copy trunk regress into Branch
[bacula/bacula] / regress / win32 / scripts / bacula.cmd
1 @ECHO off
2 IF "%1" == "start" (
3    net start bacula-dir
4    net start bacula-sd
5    net start bacula-fd
6 ) ELSE IF "%1" == "stop" (
7    net stop bacula-dir
8    net stop bacula-sd
9    net stop bacula-fd
10 ) ELSE IF "%1" == "install" (
11    bacula-dir /install -c %2\bacula-dir.conf
12    bacula-sd /install -c %2\bacula-sd.conf
13    bacula-fd /install -c %2\bacula-fd.conf
14 ) ELSE IF "%1" == "uninstall" (
15    bacula-dir /remove
16    bacula-sd /remove
17    bacula-fd /remove
18 )