22 lines
467 B
Plaintext
22 lines
467 B
Plaintext
## <summary>Update database for mlocate</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Create the locate log with append mode.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`slocate_create_append_log',`
|
|
gen_require(`
|
|
type locate_log_t;
|
|
')
|
|
|
|
logging_search_logs($1)
|
|
create_files_pattern($1,locate_log_t,locate_log_t)
|
|
append_files_pattern($1,locate_log_t,locate_log_t)
|
|
')
|