* updated wget (1.21 -> 1.21.2)
[t2.git] / package / network / bacula / bacula-dir.init
bloba6495f24cb4cd6d4fb932b7272b49ca04d9fb2d1
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3
4 # T2 SDE: package/.../bacula/bacula-dir.init
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
6
7 # More information can be found in the files COPYING and README.
8
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 # Desc: Bacula Director Daemon
16 # Runlevel: 90 rcX
19 main_begin
21     block_begin(start, `Starting Bacula Director Daemon')
22         check(`D_sbindir/bacula-dir -v -c D_sysconfdir/bacula-dir.conf')
23     block_end
24     block_begin(stop, `Stopping Bacula Director Daemon')
25         check(`killall -15 bacula-dir')
26     block_end
28 main_end