|
|
@ -34,6 +34,8 @@ foreach my $share ($a->get_all_by_prop(type => 'share')){ |
|
|
|
'-u=RDiin175M40T0cYvXLARpAi+1TsSVkbksEDZ4KvwBuY= '. |
|
|
|
'-u=RDiin175M40T0cYvXLARpAi+1TsSVkbksEDZ4KvwBuY= '. |
|
|
|
'-t=e71479ebc4365176d9f09fe957780024 -a=index '. |
|
|
|
'-t=e71479ebc4365176d9f09fe957780024 -a=index '. |
|
|
|
'-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put >/dev/null 2>&1'); |
|
|
|
'-r='.$name.' --secure_token='.$id.' --dir=/ --_method=put >/dev/null 2>&1'); |
|
|
|
|
|
|
|
# In some cases, the lock file is not removed, make sure it's unlocked |
|
|
|
|
|
|
|
unlink <"/var/cache/ajaxplorer/indexes/.ajxp_lock-$name">; |
|
|
|
} |
|
|
|
} |
|
|
|
# We should now restart OOo to release memory |
|
|
|
# We should now restart OOo to release memory |
|
|
|
if (-d '/var/service/ooo'){ |
|
|
|
if (-d '/var/service/ooo'){ |
|
|
|