mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-21 11:05:56 +00:00
Merge pull request #19 from wonderfulShrineMaidenOfParadise/openrc
OpenRC-Script.md: secure data/kuma.db*
commit
36674a66ea
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