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.
parent
95179677c7
commit
cd41606c01
|
@ -28,8 +28,9 @@ start_pre() {
|
|||
$directory/data \
|
||||
$directory/data/upload
|
||||
checkpath --owner=$command_user --file $log_dir/*.log \
|
||||
$directory/data/error.log \
|
||||
$directory/data/kuma.db
|
||||
$directory/data/error.log
|
||||
|
||||
checkpath --owner=$command_user --mode 600 --file $directory/data/kuma.db*
|
||||
}
|
||||
|
||||
start_post() {
|
||||
|
|
Loading…
Reference in New Issue