bacula: Changed storage daemon to run as bacula user instead of root and converted tape alerts to use custom script.

This commit is contained in:
Timo Mkinen 2013-05-21 08:38:15 +03:00
parent f3ad618caa
commit 9c3f13701a
3 changed files with 60 additions and 6 deletions

View file

@ -8,6 +8,5 @@ Device {
RemovableMedia = yes;
RandomAccess = no;
Maximum Network Buffer Size = 65536
Alert Command = "sh -c 'tapeinfo -f <%= @device %> | grep TapeAlert | cat'"
Alert Command = "sh -c 'smartctl -H -l error <%= @device %> | cat'"
Alert Command = "sh -c '/usr/local/sbin/tapealert %a'"
}