This commit is contained in:
2023-04-16 21:38:32 +08:00
parent a0849e40ef
commit 0b6c876a0f
59 changed files with 1026 additions and 189 deletions

View File

@@ -33,7 +33,7 @@ function Quit {
function ModifyConf {
[ -e $DATA_DIR/cloudreve.ini ] && return 0
Print Generate cloudreve.ini ...
Print Generating cloudreve.ini ...
cat > $DATA_DIR/cloudreve.ini <<-EOF
[System]
Debug = false
@@ -70,10 +70,11 @@ EOF
}
function StartProc {
Print Start cloudreve ...
Print Starting cloudreve ...
rm -f /socket/cloudreve
/opt/cloudreve -c $DATA_DIR/cloudreve.ini &>> $LOG_DIR/cloudreve.out &
PIDS="$PIDS $!"
Print Cloudreve started.
}
function Main {