mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-17 09:05:56 +00:00
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
1 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue