OpenRC-Script.md: secure data/kuma.db*

Notification and login credentials are stored in `data/kuma.db*`.
Secure it with proper permission to make sure no one else reads it.
Raymond Hackley 2022-10-31 11:37:16 +00:00
parent 95179677c7
commit cd41606c01
1 changed files with 3 additions and 2 deletions

@ -28,8 +28,9 @@ start_pre() {
$directory/data \ $directory/data \
$directory/data/upload $directory/data/upload
checkpath --owner=$command_user --file $log_dir/*.log \ checkpath --owner=$command_user --file $log_dir/*.log \
$directory/data/error.log \ $directory/data/error.log
$directory/data/kuma.db
checkpath --owner=$command_user --mode 600 --file $directory/data/kuma.db*
} }
start_post() { start_post() {