|
|
@ -28,15 +28,15 @@ |
|
|
|
main_begin |
|
|
|
|
|
|
|
block_begin(start, `Starting snort (daemon mode).') |
|
|
|
check(``D_prefix/bin/snort -D -c `D_prefix/etc/snort.conf') |
|
|
|
check(`D_prefix/bin/snort -D -c D_prefix/etc/snort.conf') |
|
|
|
block_end |
|
|
|
|
|
|
|
block_begin(stop, `Stopping snort (daemon mode).') |
|
|
|
check(`killall -15 `D_prefix/bin/snort') |
|
|
|
check(`killall -15 D_prefix/bin/snort') |
|
|
|
block_end |
|
|
|
|
|
|
|
block_begin(stop, `Restarting snort (daemon mode).') |
|
|
|
check(`killall -1 `D_prefix/bin/snort') |
|
|
|
check(`killall -1 D_prefix/bin/snort') |
|
|
|
block_end |
|
|
|
|
|
|
|
main_end |