mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-10-04 06:19:20 +08:00
Merge pull request #19 from wonderfulShrineMaidenOfParadise/openrc
OpenRC-Script.md: secure data/kuma.db*
@@ -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() {
|
||||||
|
Reference in New Issue
Block a user