mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-12-05 00:22:19 +00:00
create log and data dirs
This commit is contained in:
parent
b29dca089a
commit
de6cf786f3
@ -1077,7 +1077,11 @@ then
|
||||
echo "Creating $BASE_DIR..."
|
||||
if mkdir -m $BASE_PERM -p $BASE_DIR 2> /dev/null
|
||||
then
|
||||
:
|
||||
mkdir -m $BASE_PERM -p $LOG_DIR 2> /dev/null
|
||||
mkdir -m $BASE_PERM -p $LOG_DIR/place 2> /dev/null
|
||||
mkdir -m $BASE_PERM -p $DATA_DIR 2> /dev/null
|
||||
mkdir -m $BASE_PERM -p $DATA_DIR/person 2> /dev/null
|
||||
mkdir -m $BASE_PERM -p $DATA_DIR/place 2> /dev/null
|
||||
else
|
||||
if test "x$userid" = "xroot"
|
||||
then
|
||||
|
@ -1771,6 +1771,9 @@ case "_unlink":
|
||||
unlink(vars["_service"]);
|
||||
return 1;
|
||||
case "_exit":
|
||||
// so this is some kind of ugly hack not to be used.. huh?
|
||||
announce(AVAILABILITY_OFFLINE);
|
||||
// fall thru
|
||||
case "_quit":
|
||||
// bye(vars["_reason"]);
|
||||
quit();
|
||||
|
Loading…
Reference in New Issue
Block a user