mirror of
https://github.com/ONLYOFFICE/CommunityServer.git
synced 2025-04-18 13:24:01 +03:00
version 11.0.0
This commit is contained in:
parent
787a26da3a
commit
619b622f57
BIN
.nuget/NuGet.exe
BIN
.nuget/NuGet.exe
Binary file not shown.
@ -1,138 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<package id="AjaxMin" version="5.14.5506.26202" />
|
||||
<package id="AjaxPro.2" version="2.9.17.2" />
|
||||
<package id="AntiXSS" version="4.3.0" />
|
||||
<package id="Antlr" version="3.5.0.2" />
|
||||
<package id="AppLimit.CloudComputing.SharpBox" version="1.1.0.450" />
|
||||
<package id="ARSoft.Tools.Net" version="2.2.9" />
|
||||
<package id="Autofac" version="4.8.1" />
|
||||
<package id="AutoFixture" version="3.50.2" />
|
||||
<package id="AutoMapper" version="6.2.2" />
|
||||
<package id="AWSSDK.CloudFront" version="3.3.10.10" />
|
||||
<package id="AWSSDK.Core" version="3.3.29" />
|
||||
<package id="AWSSDK.S3" version="3.3.26.2" />
|
||||
<package id="AWSSDK.SecurityToken" version="3.3.4.22" />
|
||||
<package id="AWSSDK.SimpleEmail" version="3.3.7.2" />
|
||||
<package id="AWSSDK.SimpleNotificationService" version="3.3.2.2" />
|
||||
<package id="BouncyCastle" version="1.8.2.0" targetFramework="net45" />
|
||||
<package id="Box.V2" version="3.11.0" />
|
||||
<package id="Code.Contract" version="1.0.0" />
|
||||
<package id="CommandLineParser" version="1.9.71" />
|
||||
<package id="CsvHelper" version="7.1.0" />
|
||||
<package id="DocuSign.eSign.dll" version="2.1.8.1" />
|
||||
<package id="dotless" version="1.5.2" />
|
||||
<package id="DotNetOpenAuth.Ultimate" version="4.1.0.12182" />
|
||||
<package id="DotNetZip" version="1.13.2" />
|
||||
<package id="Dropbox.Api" version="4.8.0" />
|
||||
<package id="Elasticsearch.Net" version="6.5.0" />
|
||||
<package id="EntityFramework" version="5.0.0" />
|
||||
<package id="FluentAssertions" version="4.5.0" targetFramework="net45" />
|
||||
<package id="Flurl.Http.Signed" version="1.1.2" />
|
||||
<package id="Flurl.Signed" version="2.3.0" />
|
||||
<package id="FredCK.FCKeditorV2" version="2.6.3.19702" />
|
||||
<package id="FSharp.Compiler.CodeDom" version="1.0.0.1" />
|
||||
<package id="Google.Api.Gax" version="2.3.0" />
|
||||
<package id="Google.Api.Gax.Rest" version="2.3.0" />
|
||||
<package id="Google.Apis" version="1.32.2" />
|
||||
<package id="Google.Apis.Auth" version="1.32.2" />
|
||||
<package id="Google.Apis.Core" version="1.32.2" />
|
||||
<package id="Google.Apis.Drive.v3" version="1.32.2.1194" />
|
||||
<package id="Google.Apis.Storage.v1" version="1.32.2.1189" />
|
||||
<package id="Google.Cloud.Storage.V1" version="2.1.0" />
|
||||
<package id="Google.Protobuf" version="3.5.1" />
|
||||
<package id="GoogleAuthenticator" version="1.2.1" />
|
||||
<package id="HtmlAgilityPack" version="1.6.0.1" />
|
||||
<package id="Ical.Net" version="4.0.6.1" />
|
||||
<package id="jQuery" version="3.3.1" />
|
||||
<package id="jQuery.BlockUI" version="2.70.0" />
|
||||
<package id="jQuery.FileUpload" version="9.22.0" />
|
||||
<package id="jquery.mousewheel" version="3.1.13" />
|
||||
<package id="JWT" version="1.3.4" />
|
||||
<package id="libphonenumber-csharp" version="7.0.11" targetFramework="net45" />
|
||||
<package id="LiteDB" version="3.1.0" />
|
||||
<package id="log4net" version="2.0.8" />
|
||||
<package id="LumenWorksCsvReader" version="3.8.2" />
|
||||
<package id="MailKit" version="2.0.4" targetFramework="net462" />
|
||||
<package id="Marvin.JsonPatch.Signed" version="0.9.0" />
|
||||
<package id="Microsoft.AspNet.Cors" version="5.2.3" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="4.0.30506" />
|
||||
<package id="Microsoft.AspNet.Mvc" version="5.2.0" />
|
||||
<package id="Microsoft.AspNet.Mvc.FixedDisplayModes" version="1.0.0" />
|
||||
<package id="Microsoft.AspNet.Providers.Core" version="1.2.0" />
|
||||
<package id="Microsoft.AspNet.Razor" version="3.2.0" />
|
||||
<package id="Microsoft.AspNet.Web.Optimization" version="1.1.3" />
|
||||
<package id="Microsoft.AspNet.WebApi" version="5.2.3" />
|
||||
<package id="Microsoft.AspNet.WebApi.Client" version="5.2.3" />
|
||||
<package id="Microsoft.AspNet.WebApi.Core" version="5.2.3" />
|
||||
<package id="Microsoft.AspNet.WebApi.Cors" version="5.2.0" />
|
||||
<package id="Microsoft.AspNet.WebApi.OData" version="4.0.30506" />
|
||||
<package id="Microsoft.AspNet.WebApi.Owin" version="5.2.3" />
|
||||
<package id="Microsoft.AspNet.WebApi.Tracing" version="4.0.30506" />
|
||||
<package id="Microsoft.AspNet.WebApi.WebHost" version="5.2.3" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="2.0.20710.0" />
|
||||
<package id="Microsoft.AspNet.WebPages" version="3.2.0" />
|
||||
<package id="Microsoft.Bcl.Async" version="1.0.168" />
|
||||
<package id="Microsoft.Data.Edm" version="5.2.0" />
|
||||
<package id="Microsoft.Graph.Core" version="1.5.0" />
|
||||
<package id="Microsoft.IdentityModel.Logging" version="1.1.5" />
|
||||
<package id="Microsoft.IdentityModel.Tokens" version="5.1.5" />
|
||||
<package id="Microsoft.Net.Http" version="2.2.29" />
|
||||
<package id="Microsoft.OneDriveSDK" version="2.0.7" />
|
||||
<package id="Microsoft.Owin" version="3.0.1" />
|
||||
<package id="Microsoft.Owin.Cors" version="3.0.1" />
|
||||
<package id="Microsoft.Owin.Diagnostics" version="3.0.1" />
|
||||
<package id="Microsoft.Owin.Host.HttpListener" version="3.0.1" />
|
||||
<package id="Microsoft.Owin.Host.SystemWeb" version="3.0.1" />
|
||||
<package id="Microsoft.Owin.Hosting" version="3.0.1" />
|
||||
<package id="Microsoft.Owin.Security" version="3.0.1" />
|
||||
<package id="Microsoft.ServiceModel.Web" version="1.0.1" />
|
||||
<package id="Microsoft.SharePoint.Client.dll" version="15.0.4420.1017" />
|
||||
<package id="Microsoft.VisualStudio.QualityTools.UnitTestFramework" version="11.0.50727.1" />
|
||||
<package id="Microsoft.Web.Administration" version="7.0.0" />
|
||||
<package id="Microsoft.Web.Infrastructure" version="1.0.0.0" />
|
||||
<package id="MimeKit" version="2.0.4" targetFramework="net462" />
|
||||
<package id="Mono.Security" version="3.2.3.0" />
|
||||
<package id="MySql.Data" version="8.0.13" />
|
||||
<package id="NEST" version="6.5.0" />
|
||||
<package id="Newtonsoft.Json" version="11.0.2" />
|
||||
<package id="NLog" version="4.5.8" />
|
||||
<package id="NodaTime" version="2.0.2" />
|
||||
<package id="Novell.Directory.LDAP" version="2.3.8.1" />
|
||||
<package id="NuGet.Common" version="4.3.0" />
|
||||
<package id="NuGet.Frameworks" version="4.3.0" />
|
||||
<package id="NuGet.Packaging" version="4.3.0" />
|
||||
<package id="NuGet.Packaging.Core" version="4.3.0" />
|
||||
<package id="NUnit" version="3.11.0" />
|
||||
<package id="NVelocity" version="1.0.3" />
|
||||
<package id="openstack.net" version="1.7.7" />
|
||||
<package id="Owin" version="1.0.0" />
|
||||
<package id="Pipelines.Sockets.Unofficial" version="1.0.9" />
|
||||
<package id="Rackspace" version="0.2.0" />
|
||||
<package id="RedisSessionProvider" version="10.0.1" />
|
||||
<package id="RestSharp" version="106.1.0" />
|
||||
<package id="SelectelSharp" version="0.8.5" />
|
||||
<package id="sharpcompress" version="0.22.0" />
|
||||
<package id="StackExchange.Redis" version="2.0.519" />
|
||||
<package id="StackExchange.Redis.Extensions.Core" version="4.0.5" />
|
||||
<package id="StackExchange.Redis.Extensions.LegacyConfiguration" version="4.0.5" />
|
||||
<package id="System.Buffers" version="4.5.0" />
|
||||
<package id="System.Diagnostics.PerformanceCounter" version="4.5.0" />
|
||||
<package id="System.IdentityModel.Tokens.Jwt" version="5.1.5" />
|
||||
<package id="System.Interactive.Async" version="3.1.1" />
|
||||
<package id="System.IO.Pipelines" version="4.5.3" />
|
||||
<package id="System.Memory" version="4.5.2" />
|
||||
<package id="System.Numerics.Vectors" version="4.5.0" />
|
||||
<package id="System.Runtime.CompilerServices.Unsafe" version="4.5.2" />
|
||||
<package id="System.Spatial" version="5.2.0" />
|
||||
<package id="System.Threading.Channels" version="4.5.0" />
|
||||
<package id="System.Threading.Tasks.Extensions" version="4.5.2" />
|
||||
<package id="Textile" version="1.3.0.0" />
|
||||
<package id="Twilio" version="5.6.0" />
|
||||
<package id="Twilio.AspNet.Mvc" version="5.0.2" />
|
||||
<package id="twitterizer" version="2.4.2.1" />
|
||||
<package id="UAParser" version="3.0.0" />
|
||||
<package id="UDE.CSharp" version="1.0.0" />
|
||||
<package id="WebGrease" version="1.6.0" />
|
||||
<package id="WebSocketSharp" version="1.0.3-rc11" />
|
||||
</packages>
|
Binary file not shown.
Binary file not shown.
BIN
.nuget/packages/AppLimit.CloudComputing.SharpBox.1.1.0.452.nupkg
Normal file
BIN
.nuget/packages/AppLimit.CloudComputing.SharpBox.1.1.0.452.nupkg
Normal file
Binary file not shown.
Binary file not shown.
BIN
.nuget/packages/Microsoft.Graph.Core.1.20.1.4.nupkg
Normal file
BIN
.nuget/packages/Microsoft.Graph.Core.1.20.1.4.nupkg
Normal file
Binary file not shown.
BIN
.nuget/packages/Microsoft.Graph.Core.1.20.1.4.symbols.nupkg
Normal file
BIN
.nuget/packages/Microsoft.Graph.Core.1.20.1.4.symbols.nupkg
Normal file
Binary file not shown.
BIN
.nuget/packages/Microsoft.OneDriveSDK.2.0.7.5.nupkg
Normal file
BIN
.nuget/packages/Microsoft.OneDriveSDK.2.0.7.5.nupkg
Normal file
Binary file not shown.
BIN
.nuget/packages/Microsoft.OneDriveSDK.2.0.7.5.symbols.nupkg
Normal file
BIN
.nuget/packages/Microsoft.OneDriveSDK.2.0.7.5.symbols.nupkg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
.nuget/packages/twitterizer.2.4.2.2.nupkg
Normal file
BIN
.nuget/packages/twitterizer.2.4.2.2.nupkg
Normal file
Binary file not shown.
BIN
.nuget/packages/twitterizer.2.4.2.2.symbols.nupkg
Normal file
BIN
.nuget/packages/twitterizer.2.4.2.2.symbols.nupkg
Normal file
Binary file not shown.
1603
3rd-Party.txt
1603
3rd-Party.txt
File diff suppressed because it is too large
Load Diff
674
LICENSE.TXT
674
LICENSE.TXT
@ -1,674 +0,0 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
11
NuGet.Config
Normal file
11
NuGet.Config
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<packageSources>
|
||||
<add key="Custom NuGet Server" value=".nuget/packages" />
|
||||
<add key="NuGet official package source" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="True" />
|
||||
<add key="automatic" value="True" />
|
||||
</packageRestore>
|
||||
</configuration>
|
@ -16,8 +16,8 @@
|
||||
<a href="https://www.instagram.com/the_onlyoffice/"><img alt="https://www.instagram.com/the_onlyoffice/" src="https://download.onlyoffice.com/assets/logo/opensource/in.png"></a>
|
||||
</p>
|
||||
<p align="center">
|
||||
<a href="http://www.gnu.org/licenses/gpl-3.0.html"><img alt="http://www.gnu.org/licenses/gpl-3.0.html" src="https://img.shields.io/badge/License-GNU%20GPL%20V3-green.svg?style=flat"></a>
|
||||
<a href="https://github.com/ONLYOFFICE/portals/releases"><img alt="https://github.com/ONLYOFFICE/portals/releases" src="https://img.shields.io/badge/release-10.5.1-blue.svg"></a>
|
||||
<a href="http://www.apache.org/licenses/LICENSE-2.0"><img alt="http://www.apache.org/licenses/LICENSE-2.0" src="https://img.shields.io/badge/License-Apache%20v2.0-green.svg?style=flat"></a>
|
||||
<a href="https://github.com/ONLYOFFICE/portals/releases"><img alt="https://github.com/ONLYOFFICE/portals/releases" src="https://img.shields.io/badge/release-11.0.0-blue.svg"></a>
|
||||
</p>
|
||||
|
||||
## Overview
|
||||
@ -53,7 +53,7 @@ To compile source, follow this [instruction](https://helpcenter.onlyoffice.com/s
|
||||
|
||||
## Connecting your own modules
|
||||
|
||||
You can now create your own modules and connect them to ONLYOFFICE Community Server. See [this instruction](https://helpcenter.onlyoffice.com/server/community/community-server-custom-modules.aspx "https://helpcenter.onlyoffice.com/server/community/community-server-custom-modules.aspx") for more details.
|
||||
You can now create your own modules and connect them to ONLYOFFICE Community Server. See [this repository](https://github.com/ONLYOFFICE/CommunityServer-CustomModules "https://github.com/ONLYOFFICE/CommunityServer-CustomModules") for more details.
|
||||
|
||||
## Project Information
|
||||
|
||||
|
508
Studio.sln
Normal file
508
Studio.sln
Normal file
@ -0,0 +1,508 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.29920.165
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.ActiveDirectory", "common\ASC.ActiveDirectory\ASC.ActiveDirectory.csproj", "{E588E818-F163-470C-802C-3A6E45B36080}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Common", "common\ASC.Common\ASC.Common.csproj", "{76DE7717-3D4B-4A5B-B740-15B8913DF0CB}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Core.Common", "common\ASC.Core.Common\ASC.Core.Common.csproj", "{A51D0454-4AFA-46DE-89D4-B03D37E1816C}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Data.Backup", "common\ASC.Data.Backup\ASC.Data.Backup.csproj", "{FE7E290C-9F36-41EF-A58D-5504C24CCD16}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.ElasticSearch", "module\ASC.ElasticSearch\ASC.ElasticSearch.csproj", "{AE1A0E06-6CD4-4E1D-8209-22BBBD6D5652}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.IPSecurity", "common\ASC.IPSecurity\ASC.IPSecurity.csproj", "{2FF2177F-2D1A-4396-84EB-51F14FD99385}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Data.Storage", "common\ASC.Data.Storage\ASC.Data.Storage.csproj", "{3F6B420F-ABD3-4B5A-9F4C-5D61FFBB01DE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Data.Storage.Migration", "common\ASC.Data.Storage.Migration\ASC.Data.Storage.Migration.csproj", "{43B9FADB-AB2B-4810-9353-E23C6E45C6A3}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Notify.Textile", "common\ASC.Notify.Textile\ASC.Notify.Textile.csproj", "{659C514B-DD2C-41E3-A40E-4701216B1EA2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.TeamLabSvc", "module\ASC.TeamLabSvc\ASC.TeamLabSvc\ASC.TeamLabSvc.csproj", "{211CB6E3-C353-4229-88B4-051FC2900A61}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Feed", "module\ASC.Feed\ASC.Feed.csproj", "{B0431EC9-21D8-4D96-B333-6DD430031C82}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Client", "module\ASC.Api\ASC.Api.Client\ASC.Api.Client.csproj", "{012B11CA-B298-404A-8923-978903CDFC25}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Thrdparty", "module\ASC.Thrdparty\ASC.Thrdparty\ASC.Thrdparty.csproj", "{592EAC85-6CFC-4AD7-B653-3EADAA18327E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.FederatedLogin", "module\ASC.Thrdparty\ASC.FederatedLogin\ASC.FederatedLogin.csproj", "{481B0D9C-B2F8-4DE9-8597-BA8D24585099}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Core", "module\ASC.Api\ASC.Api\ASC.Api.Core.csproj", "{49F07FFF-98A5-47D2-A9E9-A46B98C41245}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.VoipService", "module\ASC.VoipService\ASC.VoipService.csproj", "{988536C1-4B89-4649-8F77-5C16F55D95D1}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.MessagingSystem", "module\ASC.MessagingSystem\ASC.MessagingSystem.csproj", "{BD8A18A5-60C5-4411-9719-0AA11B4BE0E9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Studio", "web\studio\ASC.Web.Studio\ASC.Web.Studio.csproj", "{E7BE6CE8-F6B0-4B9B-831B-BA0C85C8D130}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Resource.Data", "common\TMResourceManager\ASC.Resource.Data\ASC.Resource.Data.csproj", "{826533D1-AE21-4D14-87BA-67EB9D81D03E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Core", "web\core\ASC.Web.Core\ASC.Web.Core.csproj", "{02C40A64-FE22-41D0-9037-69F0D6F787A9}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Specific", "module\ASC.Api\ASC.Specific\ASC.Specific.csproj", "{42D9EE99-8FCC-4BDC-B1E2-692FEC48AD20}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Notify", "module\ASC.Notify\ASC.Notify\ASC.Notify.csproj", "{8484A675-1C93-4D87-8FF2-7530A5711208}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Community", "web\studio\ASC.Web.Studio\Products\Community\ASC.Web.Community.csproj", "{11BA9805-752F-4F6F-A876-6BA56F0EB9DE}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Files", "web\studio\ASC.Web.Studio\Products\Files\ASC.Web.Files.csproj", "{8C534AF7-5696-4E68-9FF4-FFC311893C10}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Files.Thirdparty", "module\ASC.Files.Thirdparty\ASC.Files.Thirdparty.csproj", "{D51D3E43-6047-45DD-A0FA-321CE7C3885B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.AuditTrail", "module\ASC.AuditTrail\ASC.AuditTrail.csproj", "{2C111161-B7C5-4869-9F52-EA725E64BA40}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.CRM", "web\studio\ASC.Web.Studio\Products\CRM\ASC.Web.CRM.csproj", "{48EFB880-3D76-4B21-B31E-1007C0062B5C}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Projects", "web\studio\ASC.Web.Studio\Products\Projects\ASC.Web.Projects.csproj", "{11ACB4CA-A305-4CAA-8546-392C6DAFC7C4}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Mail.Server", "module\ASC.Mail.Server\ASC.Mail.Server\ASC.Mail.Server.csproj", "{DED03705-E8C4-46D2-B634-55062850BE83}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Mail", "module\ASC.Mail\ASC.Mail\ASC.Mail.csproj", "{7080343D-FBE7-423A-9405-4F883F6E235B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.People", "web\studio\ASC.Web.Studio\Products\People\ASC.Web.People.csproj", "{7EA1E14F-FC71-48A7-9786-1FB0CD9EC1CD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Sample", "web\studio\ASC.Web.Studio\Products\Sample\ASC.Web.Sample.csproj", "{1AE21BB5-267C-443E-852E-1753AC1BD04D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Mail.Aggregator.CollectionService", "module\ASC.Mail\Services\ASC.Mail.Aggregator.CollectionService\ASC.Mail.Aggregator.CollectionService.csproj", "{2EBFAA3E-AF1D-4A30-B16A-4E8AE053E063}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Mail.Watchdog.Service", "module\ASC.Mail\Services\ASC.Mail.Watchdog.Service\ASC.Mail.Watchdog.Service.csproj", "{F72B7F19-9A9B-41F1-AEA9-ADE70D3D8D19}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Mail.EmlDownloader", "module\ASC.Mail\Services\ASC.Mail.EmlDownloader\ASC.Mail.EmlDownloader.csproj", "{0C0B3474-9991-4ADC-BF4B-7A4F35EB5A7C}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Mail.StorageCleaner.Service", "module\ASC.Mail\Services\ASC.Mail.StorageCleaner\ASC.Mail.StorageCleaner.Service.csproj", "{2559E5C4-4803-4A11-B9EC-33ECAD06C935}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Mail", "web\studio\ASC.Web.Studio\addons\mail\ASC.Web.Mail.csproj", "{1EF9C7D8-F92E-48B3-9A86-78E431ABC306}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Data.Reassigns", "module\ASC.Data.Reassigns\ASC.Data.Reassigns.csproj", "{104D045A-F9CC-4DD7-B04D-8DA7543435DD}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Employee", "module\ASC.Api\ASC.Employee\ASC.Api.Employee.csproj", "{32ADBD01-6262-48D7-A69B-0515B03DB90E}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Community", "module\ASC.Api\ASC.Api.Community\ASC.Api.Community.csproj", "{F112A4A5-556F-4680-A7D5-8726803FD507}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Documents", "module\ASC.Api\ASC.Api.Documents\ASC.Api.Documents.csproj", "{991F00F2-71CB-4694-BB6A-4696071BD94D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Projects", "module\ASC.Api\ASC.Api.Projects\ASC.Api.Projects.csproj", "{2D26FA73-F6A7-4154-B620-3E9D0433E3A6}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Settings", "module\ASC.Api\ASC.Api.Settings\ASC.Api.Settings.csproj", "{64368BDC-06CB-43D3-8537-3BA8705BCD25}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Calendar", "module\ASC.Api\ASC.Api.Calendar\ASC.Api.Calendar.csproj", "{5F7DC7BD-D831-449A-908D-5A419E4DFE71}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.CRM", "module\ASC.Api\ASC.Api.CRM\ASC.Api.CRM.csproj", "{CAC3DDF1-BFBE-4309-80BA-726E504381C2}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Feed.Aggregator", "module\ASC.Feed.Aggregator\ASC.Feed.Aggregator.csproj", "{D88D20AA-55B4-480B-A320-29A69FB6B150}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Feed", "module\ASC.Api\ASC.Api.Feed\ASC.Api.Feed.csproj", "{3D4B5ED7-49B9-45F5-9DAF-19D30520C877}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Security", "module\ASC.Api\ASC.Api.Security\ASC.Api.Security.csproj", "{98286B12-AC86-4A1C-A539-AAF1A7A5C24D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Mail", "module\ASC.Api\ASC.Api.Mail\ASC.Api.Mail.csproj", "{5EEC68A0-657C-45F3-8079-EBDB5CB9597A}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.MailServer", "module\ASC.Api\ASC.Api.MailServer\ASC.Api.MailServer.csproj", "{9F815B60-7918-440E-83A2-22CB200AD6F5}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Portal", "module\ASC.Api\ASC.Api.Portal\ASC.Api.Portal.csproj", "{F44E3466-0489-4EB2-9E28-B526D61A9F5D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Api.Sample", "module\ASC.Api\ASC.Api.Sample\ASC.Api.Sample.csproj", "{323DCA76-71A6-4543-A037-94F3FE6C7B3D}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Talk", "web\studio\ASC.Web.Studio\addons\talk\ASC.Web.Talk.csproj", "{07AD1522-D100-4CE6-94FA-95CBE5822363}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Calendar", "web\studio\ASC.Web.Studio\addons\calendar\ASC.Web.Calendar.csproj", "{7BCED72B-1DDE-4732-8EB3-2CF7002D7305}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Web.Upload", "web\studio\ASC.Web.Upload\ASC.Web.Upload.csproj", "{69393DCE-0B48-40F6-908F-B30BDBDD9A79}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Socket.IO.Svc", "module\ASC.Socket.IO.Svc\ASC.Socket.IO.Svc.csproj", "{2DADEAD3-0FE9-4199-9817-41A32E6BF450}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Thumbnails.Svc", "module\ASC.Thumbnails.Svc\ASC.Thumbnails.Svc.csproj", "{8D1B4425-4CC1-46BE-90FA-8F1C49A24D24}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.UrlShortener.Svc", "module\ASC.UrlShortener.Svc\ASC.UrlShortener.Svc.csproj", "{A3BC6CB9-842F-4D00-97F3-F5B458B18726}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Radicale", "module\ASC.Radicale\ASC.Radicale.csproj", "{2570461D-81AB-4D75-9C7B-E8B0A8826386}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.TelegramService", "module\ASC.TelegramService\ASC.TelegramService.csproj", "{F2213ED8-54DC-4360-BD7C-633B9DA1A124}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ASC.Data.Storage.Encryption", "common\ASC.Data.Storage.Encryption\ASC.Data.Storage.Encryption.csproj", "{D7EAC337-B897-44EA-870A-E8B33E780351}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
MvcOnly|Any CPU = MvcOnly|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{E588E818-F163-470C-802C-3A6E45B36080}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E588E818-F163-470C-802C-3A6E45B36080}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E588E818-F163-470C-802C-3A6E45B36080}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E588E818-F163-470C-802C-3A6E45B36080}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{E588E818-F163-470C-802C-3A6E45B36080}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E588E818-F163-470C-802C-3A6E45B36080}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{76DE7717-3D4B-4A5B-B740-15B8913DF0CB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{76DE7717-3D4B-4A5B-B740-15B8913DF0CB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{76DE7717-3D4B-4A5B-B740-15B8913DF0CB}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{76DE7717-3D4B-4A5B-B740-15B8913DF0CB}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{76DE7717-3D4B-4A5B-B740-15B8913DF0CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{76DE7717-3D4B-4A5B-B740-15B8913DF0CB}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A51D0454-4AFA-46DE-89D4-B03D37E1816C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A51D0454-4AFA-46DE-89D4-B03D37E1816C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A51D0454-4AFA-46DE-89D4-B03D37E1816C}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A51D0454-4AFA-46DE-89D4-B03D37E1816C}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{A51D0454-4AFA-46DE-89D4-B03D37E1816C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A51D0454-4AFA-46DE-89D4-B03D37E1816C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{FE7E290C-9F36-41EF-A58D-5504C24CCD16}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{FE7E290C-9F36-41EF-A58D-5504C24CCD16}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{FE7E290C-9F36-41EF-A58D-5504C24CCD16}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FE7E290C-9F36-41EF-A58D-5504C24CCD16}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{FE7E290C-9F36-41EF-A58D-5504C24CCD16}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{FE7E290C-9F36-41EF-A58D-5504C24CCD16}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{AE1A0E06-6CD4-4E1D-8209-22BBBD6D5652}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{AE1A0E06-6CD4-4E1D-8209-22BBBD6D5652}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{AE1A0E06-6CD4-4E1D-8209-22BBBD6D5652}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AE1A0E06-6CD4-4E1D-8209-22BBBD6D5652}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{AE1A0E06-6CD4-4E1D-8209-22BBBD6D5652}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{AE1A0E06-6CD4-4E1D-8209-22BBBD6D5652}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2FF2177F-2D1A-4396-84EB-51F14FD99385}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2FF2177F-2D1A-4396-84EB-51F14FD99385}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2FF2177F-2D1A-4396-84EB-51F14FD99385}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2FF2177F-2D1A-4396-84EB-51F14FD99385}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{2FF2177F-2D1A-4396-84EB-51F14FD99385}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2FF2177F-2D1A-4396-84EB-51F14FD99385}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3F6B420F-ABD3-4B5A-9F4C-5D61FFBB01DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3F6B420F-ABD3-4B5A-9F4C-5D61FFBB01DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3F6B420F-ABD3-4B5A-9F4C-5D61FFBB01DE}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3F6B420F-ABD3-4B5A-9F4C-5D61FFBB01DE}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{3F6B420F-ABD3-4B5A-9F4C-5D61FFBB01DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3F6B420F-ABD3-4B5A-9F4C-5D61FFBB01DE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{43B9FADB-AB2B-4810-9353-E23C6E45C6A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{43B9FADB-AB2B-4810-9353-E23C6E45C6A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{43B9FADB-AB2B-4810-9353-E23C6E45C6A3}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{43B9FADB-AB2B-4810-9353-E23C6E45C6A3}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{43B9FADB-AB2B-4810-9353-E23C6E45C6A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{43B9FADB-AB2B-4810-9353-E23C6E45C6A3}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{659C514B-DD2C-41E3-A40E-4701216B1EA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{659C514B-DD2C-41E3-A40E-4701216B1EA2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{659C514B-DD2C-41E3-A40E-4701216B1EA2}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{659C514B-DD2C-41E3-A40E-4701216B1EA2}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{659C514B-DD2C-41E3-A40E-4701216B1EA2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{659C514B-DD2C-41E3-A40E-4701216B1EA2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{211CB6E3-C353-4229-88B4-051FC2900A61}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{211CB6E3-C353-4229-88B4-051FC2900A61}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{211CB6E3-C353-4229-88B4-051FC2900A61}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{211CB6E3-C353-4229-88B4-051FC2900A61}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{211CB6E3-C353-4229-88B4-051FC2900A61}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{211CB6E3-C353-4229-88B4-051FC2900A61}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{B0431EC9-21D8-4D96-B333-6DD430031C82}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{B0431EC9-21D8-4D96-B333-6DD430031C82}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{B0431EC9-21D8-4D96-B333-6DD430031C82}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B0431EC9-21D8-4D96-B333-6DD430031C82}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{B0431EC9-21D8-4D96-B333-6DD430031C82}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{B0431EC9-21D8-4D96-B333-6DD430031C82}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{012B11CA-B298-404A-8923-978903CDFC25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{012B11CA-B298-404A-8923-978903CDFC25}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{012B11CA-B298-404A-8923-978903CDFC25}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{012B11CA-B298-404A-8923-978903CDFC25}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{012B11CA-B298-404A-8923-978903CDFC25}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{012B11CA-B298-404A-8923-978903CDFC25}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{592EAC85-6CFC-4AD7-B653-3EADAA18327E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{592EAC85-6CFC-4AD7-B653-3EADAA18327E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{592EAC85-6CFC-4AD7-B653-3EADAA18327E}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{592EAC85-6CFC-4AD7-B653-3EADAA18327E}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{592EAC85-6CFC-4AD7-B653-3EADAA18327E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{592EAC85-6CFC-4AD7-B653-3EADAA18327E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{481B0D9C-B2F8-4DE9-8597-BA8D24585099}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{481B0D9C-B2F8-4DE9-8597-BA8D24585099}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{481B0D9C-B2F8-4DE9-8597-BA8D24585099}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{481B0D9C-B2F8-4DE9-8597-BA8D24585099}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{481B0D9C-B2F8-4DE9-8597-BA8D24585099}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{481B0D9C-B2F8-4DE9-8597-BA8D24585099}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{49F07FFF-98A5-47D2-A9E9-A46B98C41245}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{49F07FFF-98A5-47D2-A9E9-A46B98C41245}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{49F07FFF-98A5-47D2-A9E9-A46B98C41245}.MvcOnly|Any CPU.ActiveCfg = MvcOnly|Any CPU
|
||||
{49F07FFF-98A5-47D2-A9E9-A46B98C41245}.MvcOnly|Any CPU.Build.0 = MvcOnly|Any CPU
|
||||
{49F07FFF-98A5-47D2-A9E9-A46B98C41245}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{49F07FFF-98A5-47D2-A9E9-A46B98C41245}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{988536C1-4B89-4649-8F77-5C16F55D95D1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{988536C1-4B89-4649-8F77-5C16F55D95D1}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{988536C1-4B89-4649-8F77-5C16F55D95D1}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{988536C1-4B89-4649-8F77-5C16F55D95D1}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{988536C1-4B89-4649-8F77-5C16F55D95D1}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{988536C1-4B89-4649-8F77-5C16F55D95D1}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{BD8A18A5-60C5-4411-9719-0AA11B4BE0E9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{BD8A18A5-60C5-4411-9719-0AA11B4BE0E9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{BD8A18A5-60C5-4411-9719-0AA11B4BE0E9}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BD8A18A5-60C5-4411-9719-0AA11B4BE0E9}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{BD8A18A5-60C5-4411-9719-0AA11B4BE0E9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{BD8A18A5-60C5-4411-9719-0AA11B4BE0E9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{E7BE6CE8-F6B0-4B9B-831B-BA0C85C8D130}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{E7BE6CE8-F6B0-4B9B-831B-BA0C85C8D130}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{E7BE6CE8-F6B0-4B9B-831B-BA0C85C8D130}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E7BE6CE8-F6B0-4B9B-831B-BA0C85C8D130}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{E7BE6CE8-F6B0-4B9B-831B-BA0C85C8D130}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{E7BE6CE8-F6B0-4B9B-831B-BA0C85C8D130}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{826533D1-AE21-4D14-87BA-67EB9D81D03E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{826533D1-AE21-4D14-87BA-67EB9D81D03E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{826533D1-AE21-4D14-87BA-67EB9D81D03E}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{826533D1-AE21-4D14-87BA-67EB9D81D03E}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{826533D1-AE21-4D14-87BA-67EB9D81D03E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{826533D1-AE21-4D14-87BA-67EB9D81D03E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{02C40A64-FE22-41D0-9037-69F0D6F787A9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{02C40A64-FE22-41D0-9037-69F0D6F787A9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{02C40A64-FE22-41D0-9037-69F0D6F787A9}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{02C40A64-FE22-41D0-9037-69F0D6F787A9}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{02C40A64-FE22-41D0-9037-69F0D6F787A9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{02C40A64-FE22-41D0-9037-69F0D6F787A9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{42D9EE99-8FCC-4BDC-B1E2-692FEC48AD20}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{42D9EE99-8FCC-4BDC-B1E2-692FEC48AD20}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{42D9EE99-8FCC-4BDC-B1E2-692FEC48AD20}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{42D9EE99-8FCC-4BDC-B1E2-692FEC48AD20}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{42D9EE99-8FCC-4BDC-B1E2-692FEC48AD20}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{42D9EE99-8FCC-4BDC-B1E2-692FEC48AD20}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8484A675-1C93-4D87-8FF2-7530A5711208}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8484A675-1C93-4D87-8FF2-7530A5711208}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8484A675-1C93-4D87-8FF2-7530A5711208}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8484A675-1C93-4D87-8FF2-7530A5711208}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{8484A675-1C93-4D87-8FF2-7530A5711208}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8484A675-1C93-4D87-8FF2-7530A5711208}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{11BA9805-752F-4F6F-A876-6BA56F0EB9DE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{11BA9805-752F-4F6F-A876-6BA56F0EB9DE}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{11BA9805-752F-4F6F-A876-6BA56F0EB9DE}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{11BA9805-752F-4F6F-A876-6BA56F0EB9DE}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{11BA9805-752F-4F6F-A876-6BA56F0EB9DE}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{11BA9805-752F-4F6F-A876-6BA56F0EB9DE}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8C534AF7-5696-4E68-9FF4-FFC311893C10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8C534AF7-5696-4E68-9FF4-FFC311893C10}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8C534AF7-5696-4E68-9FF4-FFC311893C10}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8C534AF7-5696-4E68-9FF4-FFC311893C10}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{8C534AF7-5696-4E68-9FF4-FFC311893C10}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8C534AF7-5696-4E68-9FF4-FFC311893C10}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D51D3E43-6047-45DD-A0FA-321CE7C3885B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D51D3E43-6047-45DD-A0FA-321CE7C3885B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D51D3E43-6047-45DD-A0FA-321CE7C3885B}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D51D3E43-6047-45DD-A0FA-321CE7C3885B}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{D51D3E43-6047-45DD-A0FA-321CE7C3885B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D51D3E43-6047-45DD-A0FA-321CE7C3885B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2C111161-B7C5-4869-9F52-EA725E64BA40}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2C111161-B7C5-4869-9F52-EA725E64BA40}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2C111161-B7C5-4869-9F52-EA725E64BA40}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2C111161-B7C5-4869-9F52-EA725E64BA40}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{2C111161-B7C5-4869-9F52-EA725E64BA40}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2C111161-B7C5-4869-9F52-EA725E64BA40}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{48EFB880-3D76-4B21-B31E-1007C0062B5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{48EFB880-3D76-4B21-B31E-1007C0062B5C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{48EFB880-3D76-4B21-B31E-1007C0062B5C}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{48EFB880-3D76-4B21-B31E-1007C0062B5C}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{48EFB880-3D76-4B21-B31E-1007C0062B5C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{48EFB880-3D76-4B21-B31E-1007C0062B5C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{11ACB4CA-A305-4CAA-8546-392C6DAFC7C4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{11ACB4CA-A305-4CAA-8546-392C6DAFC7C4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{11ACB4CA-A305-4CAA-8546-392C6DAFC7C4}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{11ACB4CA-A305-4CAA-8546-392C6DAFC7C4}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{11ACB4CA-A305-4CAA-8546-392C6DAFC7C4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{11ACB4CA-A305-4CAA-8546-392C6DAFC7C4}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{DED03705-E8C4-46D2-B634-55062850BE83}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{DED03705-E8C4-46D2-B634-55062850BE83}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{DED03705-E8C4-46D2-B634-55062850BE83}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DED03705-E8C4-46D2-B634-55062850BE83}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{DED03705-E8C4-46D2-B634-55062850BE83}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{DED03705-E8C4-46D2-B634-55062850BE83}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{7080343D-FBE7-423A-9405-4F883F6E235B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7080343D-FBE7-423A-9405-4F883F6E235B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7080343D-FBE7-423A-9405-4F883F6E235B}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7080343D-FBE7-423A-9405-4F883F6E235B}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{7080343D-FBE7-423A-9405-4F883F6E235B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7080343D-FBE7-423A-9405-4F883F6E235B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{7EA1E14F-FC71-48A7-9786-1FB0CD9EC1CD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7EA1E14F-FC71-48A7-9786-1FB0CD9EC1CD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7EA1E14F-FC71-48A7-9786-1FB0CD9EC1CD}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7EA1E14F-FC71-48A7-9786-1FB0CD9EC1CD}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{7EA1E14F-FC71-48A7-9786-1FB0CD9EC1CD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7EA1E14F-FC71-48A7-9786-1FB0CD9EC1CD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{1AE21BB5-267C-443E-852E-1753AC1BD04D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1AE21BB5-267C-443E-852E-1753AC1BD04D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1AE21BB5-267C-443E-852E-1753AC1BD04D}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1AE21BB5-267C-443E-852E-1753AC1BD04D}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{1AE21BB5-267C-443E-852E-1753AC1BD04D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1AE21BB5-267C-443E-852E-1753AC1BD04D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2EBFAA3E-AF1D-4A30-B16A-4E8AE053E063}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2EBFAA3E-AF1D-4A30-B16A-4E8AE053E063}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2EBFAA3E-AF1D-4A30-B16A-4E8AE053E063}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2EBFAA3E-AF1D-4A30-B16A-4E8AE053E063}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{2EBFAA3E-AF1D-4A30-B16A-4E8AE053E063}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2EBFAA3E-AF1D-4A30-B16A-4E8AE053E063}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F72B7F19-9A9B-41F1-AEA9-ADE70D3D8D19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F72B7F19-9A9B-41F1-AEA9-ADE70D3D8D19}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F72B7F19-9A9B-41F1-AEA9-ADE70D3D8D19}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F72B7F19-9A9B-41F1-AEA9-ADE70D3D8D19}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{F72B7F19-9A9B-41F1-AEA9-ADE70D3D8D19}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F72B7F19-9A9B-41F1-AEA9-ADE70D3D8D19}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{0C0B3474-9991-4ADC-BF4B-7A4F35EB5A7C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{0C0B3474-9991-4ADC-BF4B-7A4F35EB5A7C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{0C0B3474-9991-4ADC-BF4B-7A4F35EB5A7C}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0C0B3474-9991-4ADC-BF4B-7A4F35EB5A7C}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{0C0B3474-9991-4ADC-BF4B-7A4F35EB5A7C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{0C0B3474-9991-4ADC-BF4B-7A4F35EB5A7C}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2559E5C4-4803-4A11-B9EC-33ECAD06C935}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2559E5C4-4803-4A11-B9EC-33ECAD06C935}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2559E5C4-4803-4A11-B9EC-33ECAD06C935}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2559E5C4-4803-4A11-B9EC-33ECAD06C935}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{2559E5C4-4803-4A11-B9EC-33ECAD06C935}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2559E5C4-4803-4A11-B9EC-33ECAD06C935}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{1EF9C7D8-F92E-48B3-9A86-78E431ABC306}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{1EF9C7D8-F92E-48B3-9A86-78E431ABC306}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1EF9C7D8-F92E-48B3-9A86-78E431ABC306}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1EF9C7D8-F92E-48B3-9A86-78E431ABC306}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{1EF9C7D8-F92E-48B3-9A86-78E431ABC306}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1EF9C7D8-F92E-48B3-9A86-78E431ABC306}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{104D045A-F9CC-4DD7-B04D-8DA7543435DD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{104D045A-F9CC-4DD7-B04D-8DA7543435DD}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{104D045A-F9CC-4DD7-B04D-8DA7543435DD}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{104D045A-F9CC-4DD7-B04D-8DA7543435DD}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{104D045A-F9CC-4DD7-B04D-8DA7543435DD}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{104D045A-F9CC-4DD7-B04D-8DA7543435DD}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{32ADBD01-6262-48D7-A69B-0515B03DB90E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{32ADBD01-6262-48D7-A69B-0515B03DB90E}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{32ADBD01-6262-48D7-A69B-0515B03DB90E}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{32ADBD01-6262-48D7-A69B-0515B03DB90E}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{32ADBD01-6262-48D7-A69B-0515B03DB90E}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{32ADBD01-6262-48D7-A69B-0515B03DB90E}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F112A4A5-556F-4680-A7D5-8726803FD507}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F112A4A5-556F-4680-A7D5-8726803FD507}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F112A4A5-556F-4680-A7D5-8726803FD507}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F112A4A5-556F-4680-A7D5-8726803FD507}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{F112A4A5-556F-4680-A7D5-8726803FD507}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F112A4A5-556F-4680-A7D5-8726803FD507}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{991F00F2-71CB-4694-BB6A-4696071BD94D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{991F00F2-71CB-4694-BB6A-4696071BD94D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{991F00F2-71CB-4694-BB6A-4696071BD94D}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{991F00F2-71CB-4694-BB6A-4696071BD94D}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{991F00F2-71CB-4694-BB6A-4696071BD94D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{991F00F2-71CB-4694-BB6A-4696071BD94D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2D26FA73-F6A7-4154-B620-3E9D0433E3A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2D26FA73-F6A7-4154-B620-3E9D0433E3A6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2D26FA73-F6A7-4154-B620-3E9D0433E3A6}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2D26FA73-F6A7-4154-B620-3E9D0433E3A6}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{2D26FA73-F6A7-4154-B620-3E9D0433E3A6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2D26FA73-F6A7-4154-B620-3E9D0433E3A6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{64368BDC-06CB-43D3-8537-3BA8705BCD25}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{64368BDC-06CB-43D3-8537-3BA8705BCD25}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{64368BDC-06CB-43D3-8537-3BA8705BCD25}.MvcOnly|Any CPU.ActiveCfg = MvcOnly|Any CPU
|
||||
{64368BDC-06CB-43D3-8537-3BA8705BCD25}.MvcOnly|Any CPU.Build.0 = MvcOnly|Any CPU
|
||||
{64368BDC-06CB-43D3-8537-3BA8705BCD25}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{64368BDC-06CB-43D3-8537-3BA8705BCD25}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5F7DC7BD-D831-449A-908D-5A419E4DFE71}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5F7DC7BD-D831-449A-908D-5A419E4DFE71}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5F7DC7BD-D831-449A-908D-5A419E4DFE71}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5F7DC7BD-D831-449A-908D-5A419E4DFE71}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{5F7DC7BD-D831-449A-908D-5A419E4DFE71}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5F7DC7BD-D831-449A-908D-5A419E4DFE71}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{CAC3DDF1-BFBE-4309-80BA-726E504381C2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{CAC3DDF1-BFBE-4309-80BA-726E504381C2}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{CAC3DDF1-BFBE-4309-80BA-726E504381C2}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CAC3DDF1-BFBE-4309-80BA-726E504381C2}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{CAC3DDF1-BFBE-4309-80BA-726E504381C2}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{CAC3DDF1-BFBE-4309-80BA-726E504381C2}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D88D20AA-55B4-480B-A320-29A69FB6B150}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D88D20AA-55B4-480B-A320-29A69FB6B150}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D88D20AA-55B4-480B-A320-29A69FB6B150}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D88D20AA-55B4-480B-A320-29A69FB6B150}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{D88D20AA-55B4-480B-A320-29A69FB6B150}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D88D20AA-55B4-480B-A320-29A69FB6B150}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{3D4B5ED7-49B9-45F5-9DAF-19D30520C877}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3D4B5ED7-49B9-45F5-9DAF-19D30520C877}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3D4B5ED7-49B9-45F5-9DAF-19D30520C877}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3D4B5ED7-49B9-45F5-9DAF-19D30520C877}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{3D4B5ED7-49B9-45F5-9DAF-19D30520C877}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3D4B5ED7-49B9-45F5-9DAF-19D30520C877}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{98286B12-AC86-4A1C-A539-AAF1A7A5C24D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{98286B12-AC86-4A1C-A539-AAF1A7A5C24D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{98286B12-AC86-4A1C-A539-AAF1A7A5C24D}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{98286B12-AC86-4A1C-A539-AAF1A7A5C24D}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{98286B12-AC86-4A1C-A539-AAF1A7A5C24D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{98286B12-AC86-4A1C-A539-AAF1A7A5C24D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{5EEC68A0-657C-45F3-8079-EBDB5CB9597A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{5EEC68A0-657C-45F3-8079-EBDB5CB9597A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{5EEC68A0-657C-45F3-8079-EBDB5CB9597A}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5EEC68A0-657C-45F3-8079-EBDB5CB9597A}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{5EEC68A0-657C-45F3-8079-EBDB5CB9597A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{5EEC68A0-657C-45F3-8079-EBDB5CB9597A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9F815B60-7918-440E-83A2-22CB200AD6F5}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9F815B60-7918-440E-83A2-22CB200AD6F5}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9F815B60-7918-440E-83A2-22CB200AD6F5}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9F815B60-7918-440E-83A2-22CB200AD6F5}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{9F815B60-7918-440E-83A2-22CB200AD6F5}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9F815B60-7918-440E-83A2-22CB200AD6F5}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F44E3466-0489-4EB2-9E28-B526D61A9F5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F44E3466-0489-4EB2-9E28-B526D61A9F5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F44E3466-0489-4EB2-9E28-B526D61A9F5D}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F44E3466-0489-4EB2-9E28-B526D61A9F5D}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{F44E3466-0489-4EB2-9E28-B526D61A9F5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F44E3466-0489-4EB2-9E28-B526D61A9F5D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{323DCA76-71A6-4543-A037-94F3FE6C7B3D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{323DCA76-71A6-4543-A037-94F3FE6C7B3D}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{323DCA76-71A6-4543-A037-94F3FE6C7B3D}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{323DCA76-71A6-4543-A037-94F3FE6C7B3D}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{323DCA76-71A6-4543-A037-94F3FE6C7B3D}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{323DCA76-71A6-4543-A037-94F3FE6C7B3D}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{07AD1522-D100-4CE6-94FA-95CBE5822363}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{07AD1522-D100-4CE6-94FA-95CBE5822363}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{07AD1522-D100-4CE6-94FA-95CBE5822363}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{07AD1522-D100-4CE6-94FA-95CBE5822363}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{07AD1522-D100-4CE6-94FA-95CBE5822363}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{07AD1522-D100-4CE6-94FA-95CBE5822363}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{7BCED72B-1DDE-4732-8EB3-2CF7002D7305}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7BCED72B-1DDE-4732-8EB3-2CF7002D7305}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7BCED72B-1DDE-4732-8EB3-2CF7002D7305}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7BCED72B-1DDE-4732-8EB3-2CF7002D7305}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{7BCED72B-1DDE-4732-8EB3-2CF7002D7305}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7BCED72B-1DDE-4732-8EB3-2CF7002D7305}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{69393DCE-0B48-40F6-908F-B30BDBDD9A79}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{69393DCE-0B48-40F6-908F-B30BDBDD9A79}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{69393DCE-0B48-40F6-908F-B30BDBDD9A79}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{69393DCE-0B48-40F6-908F-B30BDBDD9A79}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{69393DCE-0B48-40F6-908F-B30BDBDD9A79}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{69393DCE-0B48-40F6-908F-B30BDBDD9A79}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2DADEAD3-0FE9-4199-9817-41A32E6BF450}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2DADEAD3-0FE9-4199-9817-41A32E6BF450}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2DADEAD3-0FE9-4199-9817-41A32E6BF450}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2DADEAD3-0FE9-4199-9817-41A32E6BF450}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{2DADEAD3-0FE9-4199-9817-41A32E6BF450}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2DADEAD3-0FE9-4199-9817-41A32E6BF450}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8D1B4425-4CC1-46BE-90FA-8F1C49A24D24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{8D1B4425-4CC1-46BE-90FA-8F1C49A24D24}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{8D1B4425-4CC1-46BE-90FA-8F1C49A24D24}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8D1B4425-4CC1-46BE-90FA-8F1C49A24D24}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{8D1B4425-4CC1-46BE-90FA-8F1C49A24D24}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{8D1B4425-4CC1-46BE-90FA-8F1C49A24D24}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{A3BC6CB9-842F-4D00-97F3-F5B458B18726}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{A3BC6CB9-842F-4D00-97F3-F5B458B18726}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{A3BC6CB9-842F-4D00-97F3-F5B458B18726}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A3BC6CB9-842F-4D00-97F3-F5B458B18726}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{A3BC6CB9-842F-4D00-97F3-F5B458B18726}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{A3BC6CB9-842F-4D00-97F3-F5B458B18726}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2570461D-81AB-4D75-9C7B-E8B0A8826386}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2570461D-81AB-4D75-9C7B-E8B0A8826386}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2570461D-81AB-4D75-9C7B-E8B0A8826386}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2570461D-81AB-4D75-9C7B-E8B0A8826386}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{2570461D-81AB-4D75-9C7B-E8B0A8826386}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2570461D-81AB-4D75-9C7B-E8B0A8826386}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2213ED8-54DC-4360-BD7C-633B9DA1A124}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{F2213ED8-54DC-4360-BD7C-633B9DA1A124}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{F2213ED8-54DC-4360-BD7C-633B9DA1A124}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2213ED8-54DC-4360-BD7C-633B9DA1A124}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{F2213ED8-54DC-4360-BD7C-633B9DA1A124}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{F2213ED8-54DC-4360-BD7C-633B9DA1A124}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{D7EAC337-B897-44EA-870A-E8B33E780351}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{D7EAC337-B897-44EA-870A-E8B33E780351}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{D7EAC337-B897-44EA-870A-E8B33E780351}.MvcOnly|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D7EAC337-B897-44EA-870A-E8B33E780351}.MvcOnly|Any CPU.Build.0 = Release|Any CPU
|
||||
{D7EAC337-B897-44EA-870A-E8B33E780351}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{D7EAC337-B897-44EA-870A-E8B33E780351}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {624A3957-D8EC-4D2E-A9AF-294DE52AF3A0}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -1,3 +1,3 @@
|
||||
set Constants=DEBUGINFO
|
||||
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe msbuild\build.proj /fl1 /flp1:LogFile=Build.log;Verbosity=Normal /m -tv:14.0
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" msbuild\build.proj /fl1 /flp1:LogFile=Build.log;Verbosity=Normal /m -tv:Current -v:m
|
||||
pause
|
@ -1,3 +1,5 @@
|
||||
%SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe msbuild\build.proj /p:BuildTargets=ReBuild /fl1 /flp1:LogFile=Build.log;Verbosity=Normal /m -tv:14.0
|
||||
if %errorlevel% == 0 %SystemRoot%\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe msbuild\deploy.proj /fl1 /flp1:LogFile=Deploy.log;Verbosity=Normal /m -tv:14.0
|
||||
set BuildTargets=ReBuild
|
||||
"%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" msbuild\build.proj /fl1 /flp1:LogFile=Build.log;Verbosity=Normal /m -v:m
|
||||
set BuildTargets=Build
|
||||
if %errorlevel% == 0 "%ProgramFiles(x86)%\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe" msbuild\deploy.proj /fl1 /flp1:LogFile=Deploy.log;Verbosity=Normal /m -v:m
|
||||
pause
|
||||
|
@ -14,16 +14,18 @@ if "%~1" == "--install" (
|
||||
)
|
||||
|
||||
if "%~1" == "--install-all" (
|
||||
sc create OnlyofficeNotify%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Notify.NotifyServiceLauncher, ASC.Notify\" --log Notify"
|
||||
sc create OnlyofficeJabber%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Xmpp.Host.XmppServerLauncher, ASC.Xmpp.Host\" --log Jabber"
|
||||
sc create OnlyofficeIndex%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.ElasticSearch.Launcher, ASC.ElasticSearch\" --log Index"
|
||||
sc create OnlyofficeRadicale%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Radicale.Launcher, ASC.Radicale\" --log Radicale"
|
||||
sc create OnlyOfficeStorageMigrate%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Storage.Migration.Launcher,ASC.Data.Storage.Migration\" --log StorageMigrate"
|
||||
sc create OnlyofficeFeed%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Feed.Aggregator.FeedAggregatorLauncher, ASC.Feed.Aggregator\" --log Feed"
|
||||
sc create OnlyofficeBackup%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Backup.Service.BackupServiceLauncher, ASC.Data.Backup\" --log Backup"
|
||||
sc create OnlyOfficeSocketIO%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Socket.IO.Svc.Launcher, ASC.Socket.IO.Svc\" --log SocketIO"
|
||||
sc create OnlyOfficeMailAggregator%version% start= auto binPath= "\"%grandparent%\MailAggregator\ASC.Mail.Aggregator.CollectionService.exe\""
|
||||
sc create OnlyOfficeMailWatchdog%version% start= auto binPath= "\"%grandparent%\MailWatchdog\ASC.Mail.Watchdog.Service.exe\""
|
||||
sc create OnlyofficeNotify%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Notify.NotifyServiceLauncher, ASC.Notify\" --log Notify"
|
||||
sc create OnlyofficeJabber%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Xmpp.Host.XmppServerLauncher, ASC.Xmpp.Host\" --log Jabber"
|
||||
sc create OnlyofficeIndex%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.ElasticSearch.Launcher, ASC.ElasticSearch\" --log Index"
|
||||
sc create OnlyofficeRadicale%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Radicale.Launcher, ASC.Radicale\" --log Radicale"
|
||||
sc create OnlyOfficeStorageMigrate%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Storage.Migration.Launcher,ASC.Data.Storage.Migration\" --log StorageMigrate"
|
||||
sc create OnlyOfficeStorageEncryption%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Storage.Encryption.Launcher,ASC.Data.Storage.Encryption\" --log StorageEncryption"
|
||||
sc create OnlyofficeFeed%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Feed.Aggregator.FeedAggregatorLauncher, ASC.Feed.Aggregator\" --log Feed"
|
||||
sc create OnlyofficeBackup%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Backup.Service.BackupServiceLauncher, ASC.Data.Backup\" --log Backup"
|
||||
sc create OnlyOfficeSocketIO%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Socket.IO.Svc.Launcher, ASC.Socket.IO.Svc\" --log SocketIO"
|
||||
sc create OnlyOfficeTelegram%version% start= auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.TelegramService.Launcher, ASC.TelegramService\" --log Telegram"
|
||||
sc create OnlyOfficeMailAggregator%version% start= auto binPath= "\"%grandparent%\MailAggregator\ASC.Mail.Aggregator.CollectionService.exe\""
|
||||
sc create OnlyOfficeMailWatchdog%version% start= auto binPath= "\"%grandparent%\MailWatchdog\ASC.Mail.Watchdog.Service.exe\""
|
||||
|
||||
goto Exit
|
||||
)
|
||||
@ -40,12 +42,20 @@ if "%~1" == "--uninstall-all" (
|
||||
sc delete OnlyofficeJabber%version%
|
||||
net stop OnlyofficeIndex%version%
|
||||
sc delete OnlyofficeIndex%version%
|
||||
net stop OnlyofficeRadicale%version%
|
||||
sc delete OnlyofficeRadicale%version%
|
||||
net stop OnlyOfficeStorageMigrate%version%
|
||||
sc delete OnlyOfficeStorageMigrate%version%
|
||||
net stop OnlyOfficeStorageEncryption%version%
|
||||
sc delete OnlyOfficeStorageEncryption%version%
|
||||
net stop OnlyofficeFeed%version%
|
||||
sc delete OnlyofficeFeed%version%
|
||||
net stop OnlyofficeBackup%version%
|
||||
sc delete OnlyofficeBackup%version%
|
||||
net stop OnlyOfficeSocketIO%version%
|
||||
sc delete OnlyOfficeSocketIO%version%
|
||||
net stop OnlyOfficeTelegram%version%
|
||||
sc delete OnlyOfficeTelegram%version%
|
||||
net stop OnlyOfficeMailAggregator%version%
|
||||
sc delete OnlyOfficeMailAggregator%version%
|
||||
net stop OnlyOfficeMailWatchdog%version%
|
||||
|
@ -2,7 +2,6 @@
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="teamlab" type="ASC.TeamLabSvc.Configuration.TeamLabSvcConfigurationSection, TeamLabSvc" />
|
||||
<section name="jabberServer" type="ASC.Xmpp.Server.Configuration.JabberConfigurationSection, ASC.Xmpp.Server" />
|
||||
<section name="notify" type="ASC.Notify.Config.NotifyServiceCfgSectionHandler, ASC.Notify" />
|
||||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" />
|
||||
<section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog" />
|
||||
@ -22,46 +21,105 @@
|
||||
</configSections>
|
||||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<probing privatePath="x64;x86" />
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Owin" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
|
||||
<assemblyIdentity name="BouncyCastle.Crypto" publicKeyToken="0e99375e54769942" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.8.6.1" newVersion="1.8.5.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Owin.Security" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.0.1.0" newVersion="3.0.1.0" />
|
||||
<assemblyIdentity name="Google.Api.Gax" culture="neutral" publicKeyToken="3ec5ea7f18953e47" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Graph.Core" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.5.0.0" newVersion="1.5.0.0" />
|
||||
<assemblyIdentity name="Google.Api.Gax.Rest" culture="neutral" publicKeyToken="3ec5ea7f18953e47" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.0.0.0" newVersion="3.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
|
||||
<assemblyIdentity name="Google.Apis" culture="neutral" publicKeyToken="4b01fa6e34db77ab" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.45.0.0" newVersion="1.45.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.IO.Pipelines" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.0.1" newVersion="4.0.0.1" />
|
||||
<assemblyIdentity name="Google.Apis.Auth" culture="neutral" publicKeyToken="4b01fa6e34db77ab" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.45.0.0" newVersion="1.45.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<assemblyIdentity name="Google.Apis.Core" culture="neutral" publicKeyToken="4b01fa6e34db77ab" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.45.0.0" newVersion="1.45.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Google.Apis.Storage.v1" culture="neutral" publicKeyToken="4b01fa6e34db77ab" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.45.0.1911" newVersion="1.45.0.1911" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Google.Protobuf" culture="neutral" publicKeyToken="a7d26565bac4d604" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-3.11.4.0" newVersion="3.11.4.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="log4net" culture="neutral" publicKeyToken="669e0ddf0bb1aa2a" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.0.8.0" newVersion="2.0.8.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" culture="neutral" publicKeyToken="adb9793829ddae60" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-2.1.1.0" newVersion="2.1.1.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="BouncyCastle.Crypto" culture="neutral" publicKeyToken="0e99375e54769942" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.8.5.0" newVersion="1.8.5.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="StackExchange.Redis.Extensions.Core" culture="neutral" publicKeyToken="d7d863643bcd13ef" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Buffers" culture="neutral" publicKeyToken="cc7b13ffcd2ddd51" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.3.0" newVersion="4.0.3.0" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.Http.Primitives" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.2.29.0" newVersion="4.2.29.0" />
|
||||
<assemblyIdentity name="System.Memory" culture="neutral" publicKeyToken="cc7b13ffcd2ddd51" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Net.Http" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.0.0" newVersion="4.0.0.0" />
|
||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" culture="neutral" publicKeyToken="b03f5f7f11d50a3a" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.4.1" newVersion="4.0.4.1" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Web.Cors" publicKeyToken="31bf3856ad364e35" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-5.2.3.0" newVersion="5.2.3.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="StackExchange.Redis.Extensions.Core" publicKeyToken="d7d863643bcd13ef" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.5.0" newVersion="4.0.5.0" />
|
||||
<assemblyIdentity name="WebGrease" culture="neutral" publicKeyToken="31bf3856ad364e35" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.5.2.14234" newVersion="1.5.2.14234" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
@ -80,11 +138,12 @@
|
||||
<add key="files.docservice.url.internal" value="" />
|
||||
<add key="files.docservice.url.portal" value="" />
|
||||
<add key="files.index.formats" value=".pptx|.pptm|.pptt|.ppt|.ppsx|.ppsm|.pps|.potx|.potm|.pot|.odp|.fodp|.otp|.gslides|.xlsx|.xlsm|.xlst|.xls|.xltx|.xltm|.xlt|.ods|.fods|.ots|.gsheet|.csv|.docx|.docm|.doct|.doc|.dotx|.dotm|.dot|.odt|.fodt|.ott|.gdoc|.txt|.rtf|.mht|.html|.htm|.epub|.pdf|.djvu|.xps" />
|
||||
<add key="jabber.from-teamlab-to-onlyoffice" value="false" />
|
||||
<add key="messaging.enabled" value="true" />
|
||||
<add key="web.help-center" value="https://helpcenter.onlyoffice.com/{ru|de|fr|es|lv|it}" />
|
||||
<add key="web.hub.internal" value="http://localhost:9899/" />
|
||||
<add key="web.controlpanel.url" value="" />
|
||||
<add key="storage.encryption.tempdir" value="" />
|
||||
<add key="license.file.path" value="" />
|
||||
<add key="resources.from-db" value="true" />
|
||||
<add key="mail.certificate-permit" value="true" />
|
||||
</appSettings>
|
||||
@ -99,11 +158,13 @@
|
||||
<add type="ASC.Notify.NotifyServiceLauncher, ASC.Notify" />
|
||||
<add type="ASC.Feed.Aggregator.FeedAggregatorLauncher, ASC.Feed.Aggregator" />
|
||||
<add type="ASC.Data.Backup.Service.BackupServiceLauncher, ASC.Data.Backup" />
|
||||
<add type="ASC.Mail.Autoreply.AutoreplyServiceController, ASC.Mail.Autoreply" />
|
||||
<!-- <add type="ASC.Mail.Autoreply.AutoreplyServiceController, ASC.Mail.Autoreply"/> -->
|
||||
<add type="ASC.Data.Storage.Migration.Launcher, ASC.Data.Storage.Migration" />
|
||||
<add type="ASC.ElasticSearch.Launcher, ASC.ElasticSearch" />
|
||||
<add type="ASC.Thumbnails.Svc.Launcher, ASC.Thumbnails.Svc" />
|
||||
<add type="ASC.UrlShortener.Svc.Launcher, ASC.UrlShortener.Svc" />
|
||||
<add type="ASC.TelegramService.Launcher, ASC.TelegramService" />
|
||||
<add type="ASC.Data.Storage.Encryption.Launcher, ASC.Data.Storage.Encryption" />
|
||||
</services>
|
||||
</teamlab>
|
||||
<apiClient root="/api/2.0/" scheme="Http" />
|
||||
@ -112,6 +173,7 @@
|
||||
<senders>
|
||||
<sender name="email.sender" type="ASC.Core.Notify.Senders.SmtpSender, ASC.Core.Common" host="" port="" userName="" password="" enableSsl="" useCoreSettings="true" />
|
||||
<sender name="messanger.sender" type="ASC.Core.Notify.Senders.JabberSender, ASC.Core.Common" />
|
||||
<sender name="telegram.sender" type="ASC.Core.Notify.Senders.TelegramSender, ASC.Core.Common" />
|
||||
</senders>
|
||||
<schedulers>
|
||||
<scheduler name="WhatsNew" register="ASC.Web.Studio.Core.Notify.NotifyConfiguration.RegisterSendMethods, ASC.Web.Studio" />
|
||||
@ -148,6 +210,12 @@
|
||||
<service name="ASC.Data.Storage.Migration.Service" behaviorConfiguration="default">
|
||||
<endpoint address="net.tcp://0:9883/teamlabMigrate" binding="netTcpBinding" contract="ASC.Data.Storage.Migration.IService" bindingConfiguration="migrate" />
|
||||
</service>
|
||||
<service name="ASC.TelegramService.TelegramService" behaviorConfiguration="default">
|
||||
<endpoint address="net.tcp://0:9885/teamlabTelegram" binding="netTcpBinding" contract="ASC.Core.Common.Notify.ITelegramService" bindingConfiguration="telegram" />
|
||||
</service>
|
||||
<service name="ASC.Data.Storage.Encryption.EncryptionService" behaviorConfiguration="default">
|
||||
<endpoint address="net.tcp://0:9884/teamlabEncryption" binding="netTcpBinding" contract="ASC.Data.Storage.Encryption.IEncryptionService" bindingConfiguration="encryption" />
|
||||
</service>
|
||||
</services>
|
||||
<bindings>
|
||||
<netTcpBinding>
|
||||
@ -183,6 +251,14 @@
|
||||
<security mode="None" />
|
||||
<readerQuotas maxStringContentLength="1000000" />
|
||||
</binding>
|
||||
<binding name="telegram" openTimeout="0:0:10" receiveTimeout="0:0:10" sendTimeout="0:0:10">
|
||||
<security mode="None" />
|
||||
<readerQuotas maxStringContentLength="1000000" />
|
||||
</binding>
|
||||
<binding name="encryption" openTimeout="0:0:10" receiveTimeout="0:0:10" sendTimeout="0:0:10">
|
||||
<security mode="None" />
|
||||
<readerQuotas maxStringContentLength="1000000" />
|
||||
</binding>
|
||||
</netTcpBinding>
|
||||
</bindings>
|
||||
<client>
|
||||
@ -190,6 +266,7 @@
|
||||
<endpoint address="net.tcp://localhost:9871/teamlabNotify" binding="netTcpBinding" contract="ASC.Notify.INotifyService" bindingConfiguration="notify" />
|
||||
<endpoint address="net.tcp://localhost:9882/teamlabBackup" binding="netTcpBinding" contract="ASC.Core.Common.Contracts.IBackupService" bindingConfiguration="backup" />
|
||||
<endpoint address="net.tcp://localhost:9866/teamlabSearcher" binding="netTcpBinding" contract="ASC.ElasticSearch.Service.IService" bindingConfiguration="index" />
|
||||
<endpoint address="net.tcp://localhost:9885/teamlabTelegram" binding="netTcpBinding" contract="ASC.Core.Common.Notify.ITelegramService" bindingConfiguration="telegram" />
|
||||
</client>
|
||||
<behaviors>
|
||||
<serviceBehaviors>
|
||||
@ -278,7 +355,7 @@
|
||||
<variable name="svcName" value="" />
|
||||
<conversionPattern value="" />
|
||||
<targets async="true">
|
||||
<default-target-parameters type="SelfCleaning" archiveNumbering="DateAndSequence" archiveEvery="Day" archiveAboveSize="52428800" archiveDateFormat="MM-dd" keepFileOpen="true" enableArchiveFileCompression="true" layout="${date:format=yyyy-MM-dd HH\:mm\:ss,fff} ${level:uppercase=true} [${threadid}] ${logger} - ${message} ${exception:format=ToString}" />
|
||||
<default-target-parameters type="SelfCleaning" encoding="utf-8" archiveNumbering="DateAndSequence" archiveEvery="Day" archiveAboveSize="52428800" archiveDateFormat="MM-dd" keepFileOpen="true" enableArchiveFileCompression="true" layout="${date:format=yyyy-MM-dd HH\:mm\:ss,fff} ${level:uppercase=true} [${threadid}] ${logger} - ${message} ${exception:format=ToString}" />
|
||||
<target name="Console" type="Console" layout="${date:format=yyyy-MM-dd HH\:mm\:ss,fff} ${level:uppercase=true} [${threadid}] ${logger} - ${message}" />
|
||||
<target name="web" type="SelfCleaning" fileName="${logDirectory}svc${var:svcName}.log" />
|
||||
<target name="sql" type="SelfCleaning" fileName="${logDirectory}svc${var:svcName}.sql.log" layout="${date:universalTime=true:format=yyyy-MM-dd HH\:mm\:ss,fff}|${threadid}|${event-properties:item=duration}|${message}|${event-properties:item=sql}|${event-properties:item=sqlParams}" />
|
||||
|
@ -1,17 +0,0 @@
|
||||
God.watch do |w|
|
||||
w.name = "elasticsearch"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/elasticsearch start"
|
||||
w.stop = "/etc/init.d/elasticsearch stop"
|
||||
w.restart = "/etc/init.d/elasticsearch restart"
|
||||
w.pid_file = "/var/run/elasticsearch/elasticsearch.pid"
|
||||
w.behavior(:clean_pid_file)
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
end
|
||||
end
|
||||
end
|
@ -2,9 +2,9 @@ God.watch do |w|
|
||||
w.name = "onlyofficeMailAggregator"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/onlyofficeMailAggregator start"
|
||||
w.stop = "/etc/init.d/onlyofficeMailAggregator stop"
|
||||
w.restart = "/etc/init.d/onlyofficeMailAggregator restart"
|
||||
w.start = "systemctl start onlyofficeMailAggregator"
|
||||
w.stop = "systemctl stop onlyofficeMailAggregator"
|
||||
w.restart = "systemctl restart onlyofficeMailAggregator"
|
||||
w.pid_file = "/tmp/onlyofficeMailAggregator"
|
||||
|
||||
w.behavior(:clean_pid_file)
|
||||
@ -18,7 +18,7 @@ God.watch do |w|
|
||||
|
||||
w.restart_if do |restart|
|
||||
restart.condition(:memory_usage) do |c|
|
||||
c.above = 500.megabytes
|
||||
c.above = 1000.megabytes
|
||||
c.times = 5
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
|
@ -28,16 +28,17 @@ God.watch do |w|
|
||||
w.name = "monoserve"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/monoserve start"
|
||||
w.stop = "/etc/init.d/monoserve stop"
|
||||
w.restart = "/etc/init.d/monoserve restart"
|
||||
w.pid_file = "/tmp/monoserve"
|
||||
w.start = "systemctl restart monoserve"
|
||||
w.stop = "systemctl stop monoserve"
|
||||
w.restart = "systemctl restart monoserve"
|
||||
w.unix_socket = "/var/run/onlyoffice/onlyoffice.socket"
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
start.condition(:socket_connected_within_timeout) do |c|
|
||||
c.family = 'unix'
|
||||
c.path = '/var/run/onlyoffice/onlyoffice.socket'
|
||||
c.times = 5
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
end
|
||||
|
||||
@ -49,7 +50,7 @@ God.watch do |w|
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
restart.condition(:http_response_code) do |c|
|
||||
c.host = 'localhost'
|
||||
c.host = '127.0.0.1'
|
||||
c.path = '/api/2.0/capabilities.json'
|
||||
c.code_is_not = 200
|
||||
c.times = 5
|
||||
|
@ -28,16 +28,17 @@ God.watch do |w|
|
||||
w.name = "monoserveApiSystem"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/monoserveApiSystem start"
|
||||
w.stop = "/etc/init.d/monoserveApiSystem stop"
|
||||
w.restart = "/etc/init.d/monoserveApiSystem restart"
|
||||
w.pid_file = "/tmp/monoserveApiSystem"
|
||||
w.start = "systemctl restart monoserveApiSystem"
|
||||
w.stop = "systemctl stop monoserveApiSystem"
|
||||
w.restart = "systemctl restart monoserveApiSystem"
|
||||
w.unix_socket = "/var/run/onlyoffice/onlyofficeApiSystem.socket"
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
start.condition(:socket_connected_within_timeout) do |c|
|
||||
c.family = 'unix'
|
||||
c.path = '/var/run/onlyoffice/onlyoffice.socket'
|
||||
c.times = 5
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -1,26 +0,0 @@
|
||||
God.watch do |w|
|
||||
w.name = "mysql"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/mysql start"
|
||||
w.stop = "/etc/init.d/mysql stop"
|
||||
w.restart = "/etc/init.d/mysql restart"
|
||||
w.pid_file = "/var/run/mysqld/mysqld.pid"
|
||||
w.behavior(:clean_pid_file)
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
end
|
||||
end
|
||||
|
||||
w.restart_if do |restart|
|
||||
restart.condition(:socket_responding) do |c|
|
||||
c.addr = '127.0.0.1'
|
||||
c.socket = 'tcp:3306'
|
||||
c.times = 5
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
end
|
||||
end
|
@ -1,18 +0,0 @@
|
||||
God.watch do |w|
|
||||
w.name = "nginx"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/nginx start"
|
||||
w.stop = "/etc/init.d/nginx stop"
|
||||
w.restart = "/etc/init.d/nginx restart"
|
||||
w.pid_file = "/var/run/nginx.pid"
|
||||
w.behavior(:clean_pid_file)
|
||||
w.keepalive
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
end
|
||||
end
|
||||
end
|
@ -1,11 +1,11 @@
|
||||
%w{onlyofficeFeed onlyofficeThumb onlyofficeSocketIO onlyofficeIndex onlyofficeStorageMigrate onlyofficeJabber onlyofficeNotify onlyofficeBackup onlyofficeMailCleaner onlyofficeMailWatchdog onlyofficeRadicale onlyofficeUrlShortener}.each do |serviceName|
|
||||
%w{onlyofficeFeed onlyofficeThumb onlyofficeSocketIO onlyofficeIndex onlyofficeStorageMigrate onlyofficeStorageEncryption onlyofficeTelegram onlyofficeNotify onlyofficeBackup onlyofficeMailCleaner onlyofficeMailWatchdog onlyofficeRadicale onlyofficeUrlShortener}.each do |serviceName|
|
||||
God.watch do |w|
|
||||
w.name = serviceName
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/#{serviceName} start"
|
||||
w.stop = "/etc/init.d/#{serviceName} stop"
|
||||
w.restart = "/etc/init.d/#{serviceName} restart"
|
||||
w.start = "systemctl start #{serviceName}"
|
||||
w.stop = "systemctl stop #{serviceName}"
|
||||
w.restart = "systemctl restart #{serviceName}"
|
||||
w.pid_file = "/tmp/#{serviceName}"
|
||||
|
||||
w.start_if do |start|
|
||||
|
@ -1,17 +0,0 @@
|
||||
God.watch do |w|
|
||||
w.name = "redis"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "/etc/init.d/redis-server start"
|
||||
w.stop = "/etc/init.d/redis-server stop"
|
||||
w.restart = "/etc/init.d/redis-server restart"
|
||||
w.pid_file = "/var/run/redis/redis-server.pid"
|
||||
w.behavior(:clean_pid_file)
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
end
|
||||
end
|
||||
end
|
@ -5,7 +5,7 @@
|
||||
</server>
|
||||
<listener type="HyperFastCgi.Listeners.NativeListener">
|
||||
<apphost-transport type="HyperFastCgi.Transports.NativeTransport">
|
||||
<multithreading>Task</multithreading>
|
||||
<multithreading>ThreadPool</multithreading>
|
||||
</apphost-transport>
|
||||
<protocol>Unix</protocol>
|
||||
<address>//666@/var/run/onlyoffice/onlyoffice.socket</address>
|
||||
|
@ -5,7 +5,7 @@
|
||||
</server>
|
||||
<listener type="HyperFastCgi.Listeners.NativeListener">
|
||||
<apphost-transport type="HyperFastCgi.Transports.NativeTransport">
|
||||
<multithreading>Task</multithreading>
|
||||
<multithreading>ThreadPool</multithreading>
|
||||
</apphost-transport>
|
||||
<protocol>Unix</protocol>
|
||||
<address>//666@/var/run/onlyoffice/onlyofficeApiSystem.socket</address>
|
||||
|
@ -35,94 +35,85 @@ map $http_x_forwarded_host $the_host {
|
||||
"" $this_host;
|
||||
}
|
||||
|
||||
## Normal HTTP host
|
||||
map $request_uri $header_access_control_allow_origin {
|
||||
~*^/(api\/2.0|products\/crm\/httphandlers\/webtoleadfromhandler.ashx|products\/files\/httphandlers\/filehandler.ashx|products\/files\/chunkeduploader.ashx|thirdparty\/plugin) "*";
|
||||
default "";
|
||||
}
|
||||
|
||||
map $request_uri $header_x_frame_options {
|
||||
~*^/(favicon\.ico|products\/files\/share\.aspx|products\/files\/saveas\.aspx|products\/files\/filechoice\.aspx|products\/files\/doceditor\.aspx|thirdparty\/plugin) "";
|
||||
default "SAMEORIGIN";
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:80;
|
||||
listen [::]:80 default_server;
|
||||
listen 0.0.0.0:80 default_server;
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
server_tokens off;
|
||||
|
||||
root /nowhere; ## root doesn't have to be a valid path since we are redirecting
|
||||
root /nowhere; ## root doesn't have to be a valid path since we are redirecting
|
||||
|
||||
location / {
|
||||
if ($ip_external) {
|
||||
## Redirects all traffic to the HTTPS host
|
||||
rewrite ^ https://$host$request_uri? permanent;
|
||||
}
|
||||
location / {
|
||||
if ($ip_external) {
|
||||
## Redirects all traffic to the HTTPS host
|
||||
rewrite ^ https://$host$request_uri? permanent;
|
||||
}
|
||||
|
||||
client_max_body_size 100m;
|
||||
|
||||
client_max_body_size 100m;
|
||||
|
||||
proxy_pass https://127.0.0.1;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_ssl_verify off;
|
||||
}
|
||||
proxy_pass https://127.0.0.1;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_ssl_verify off;
|
||||
}
|
||||
}
|
||||
|
||||
## HTTPS host
|
||||
server {
|
||||
listen 0.0.0.0:443 ssl;
|
||||
listen [::]:443 ssl default_server;
|
||||
listen 0.0.0.0:443 ssl http2;
|
||||
listen [::]:443 ssl http2 default_server;
|
||||
server_tokens off;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
## Increase this if you want to upload large attachments
|
||||
client_max_body_size 100m;
|
||||
|
||||
## Strong SSL Security
|
||||
## https://cipherli.st/
|
||||
ssl_certificate {{SSL_CERTIFICATE_PATH}};
|
||||
ssl_certificate_key {{SSL_KEY_PATH}};
|
||||
ssl_verify_client {{SSL_VERIFY_CLIENT}};
|
||||
ssl_client_certificate {{CA_CERTIFICATES_PATH}};
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
||||
ssl_session_tickets off;
|
||||
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
ssl_prefer_server_ciphers on;
|
||||
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
|
||||
ssl_ecdh_curve secp384r1; # Requires nginx >= 1.1.0
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
ssl_session_tickets off; # Requires nginx >= 1.5.9
|
||||
ssl_protocols TLSv1.2;
|
||||
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
||||
ssl_prefer_server_ciphers off;
|
||||
|
||||
add_header Strict-Transport-Security "max-age={{APP_HTTPS_HSTS_MAXAGE}}; includeSubDomains; preload" always;
|
||||
# add_header X-Frame-Options DENY;
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
|
||||
add_header X-Frame-Options $header_x_frame_options;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Access-Control-Allow-Origin $header_access_control_allow_origin;
|
||||
|
||||
## [Optional] If your certficate has OCSP, enable OCSP stapling to reduce the overhead and latency of running SSL.
|
||||
## Replace with your ssl_trusted_certificate. For more info see:
|
||||
## - https://medium.com/devops-programming/4445f4862461
|
||||
## - https://www.ruby-forum.com/topic/4419319
|
||||
## - https://www.digitalocean.com/community/tutorials/how-to-configure-ocsp-stapling-on-apache-and-nginx
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
ssl_trusted_certificate {{SSL_OCSP_CERTIFICATE_PATH}};
|
||||
resolver 8.8.8.8 8.8.4.4 127.0.0.11 valid=300s; # Can change to your DNS resolver if desired
|
||||
resolver_timeout 10s;
|
||||
|
||||
## [Optional] Generate a stronger DHE parameter:
|
||||
## cd /etc/ssl/certs
|
||||
## sudo openssl dhparam -out dhparam.pem 4096
|
||||
##
|
||||
ssl_dhparam {{SSL_DHPARAM_PATH}};
|
||||
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
|
||||
|
||||
include /etc/nginx/includes/onlyoffice-communityserver-*.conf;
|
||||
}
|
||||
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
|
||||
include /etc/nginx/includes/onlyoffice-communityserver-*.conf;
|
||||
}
|
@ -10,9 +10,13 @@ location / {
|
||||
fastcgi_pass fastcgi_backend;
|
||||
fastcgi_keep_conn on;
|
||||
|
||||
error_page 401 /401.htm;
|
||||
error_page 402 /402.htm;
|
||||
error_page 403 /403.htm;
|
||||
error_page 404 /404.htm;
|
||||
error_page 500 /500.htm;
|
||||
|
||||
gzip off;
|
||||
gzip on;
|
||||
gzip_comp_level 2;
|
||||
gzip_min_length 1000;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
@ -30,14 +34,15 @@ location / {
|
||||
fastcgi_read_timeout 600;
|
||||
fastcgi_send_timeout 600;
|
||||
|
||||
rewrite /products/files/doceditor.aspx(.*) /Products/Files/DocEditor.aspx$1 permanent;
|
||||
rewrite /products/files/(.*) /Products/Files/$1 permanent;
|
||||
|
||||
location ~* ^/(warmup[2-9]?)/ {
|
||||
rewrite /warmup([^/]*)/(.*) /$2 break;
|
||||
fastcgi_pass unix:/var/run/onlyoffice/onlyoffice$1.socket;
|
||||
}
|
||||
|
||||
|
||||
location ~* (^\/(?:skins|products|addons).*\.(?:jpg|jpeg|gif|png|svg|ico)$)|(.*bundle/(?!clientscript).*) {
|
||||
location ~* (^\/(?:skins|products|addons).*\.(?:jpg|jpeg|gif|png|svg|ico|woff2)$)|(.*bundle/(?!clientscript).*) {
|
||||
fastcgi_pass fastcgi_backend;
|
||||
|
||||
fastcgi_temp_path /var/cache/nginx/tmp 1 2;
|
||||
@ -51,8 +56,24 @@ location / {
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
expires max;
|
||||
}
|
||||
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
gzip_vary on;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
#compression level
|
||||
gzip_comp_level 6;
|
||||
gzip_min_length 1000;
|
||||
gzip_buffers 16 8k;
|
||||
gzip_http_version 1.1;
|
||||
# files to gzip
|
||||
gzip_types image/svg+xml;
|
||||
}
|
||||
|
||||
location ~* (.*bundle/(?!clientscript).*)|(^\/socketio\/*) {
|
||||
gzip off;
|
||||
}
|
||||
}
|
||||
|
||||
location /apisystem {
|
||||
@ -61,7 +82,6 @@ location /apisystem {
|
||||
root /var/www/onlyoffice/ApiSystem/;
|
||||
index index.html index.htm default.aspx Default.aspx;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header X-Frame-Options DENY;
|
||||
|
||||
client_max_body_size 4G;
|
||||
@ -87,10 +107,4 @@ location /apisystem {
|
||||
|
||||
fastcgi_read_timeout 600;
|
||||
fastcgi_send_timeout 600;
|
||||
}
|
||||
|
||||
location /filesData {
|
||||
rewrite /filesData/var/www/onlyoffice/Data/Products/Files(.*) /$1 break;
|
||||
root /var/www/onlyoffice/Data/Products/Files;
|
||||
internal;
|
||||
}
|
||||
}
|
@ -29,18 +29,29 @@ map $http_x_forwarded_host $the_host {
|
||||
"" $this_host;
|
||||
}
|
||||
|
||||
map $request_uri $header_access_control_allow_origin {
|
||||
~*^/(api\/2.0|products\/crm\/httphandlers\/webtoleadfromhandler.ashx|products\/files\/httphandlers\/filehandler.ashx|products\/files\/chunkeduploader.ashx|thirdparty\/plugin) "*";
|
||||
default "";
|
||||
}
|
||||
|
||||
map $request_uri $header_x_frame_options {
|
||||
~*^/(favicon\.ico|products\/files\/share\.aspx|products\/files\/saveas\.aspx|products\/files\/filechoice\.aspx|products\/files\/doceditor\.aspx|thirdparty\/plugin) "";
|
||||
default "SAMEORIGIN";
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
||||
add_header Access-Control-Allow-Origin $header_access_control_allow_origin;
|
||||
add_header X-Frame-Options $header_x_frame_options;
|
||||
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
|
||||
include /etc/nginx/includes/onlyoffice-communityserver-*.conf;
|
||||
}
|
||||
}
|
@ -28,11 +28,22 @@ map $http_x_forwarded_host $the_host {
|
||||
default $http_x_forwarded_host;
|
||||
"" $this_host;
|
||||
}
|
||||
|
||||
map $request_uri $header_access_control_allow_origin {
|
||||
~*^/(api\/2.0|products\/crm\/httphandlers\/webtoleadfromhandler.ashx|products\/files\/httphandlers\/filehandler.ashx|products\/files\/chunkeduploader.ashx|thirdparty\/plugin) "*";
|
||||
default "";
|
||||
}
|
||||
|
||||
map $request_uri $header_x_frame_options {
|
||||
~*^/(favicon\.ico|products\/files\/share\.aspx|products\/files\/saveas\.aspx|products\/files\/filechoice\.aspx|products\/files\/doceditor\.aspx|thirdparty\/plugin) "";
|
||||
default "SAMEORIGIN";
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Access-Control-Allow-Origin $header_access_control_allow_origin;
|
||||
add_header X-Frame-Options $header_x_frame_options;
|
||||
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
|
@ -5,7 +5,8 @@ NGINX_CONF_DIR="/etc/nginx/sites-enabled";
|
||||
NGINX_ROOT_DIR="/etc/nginx";
|
||||
APP_SERVICES_ROOT_DIR="/var/www/onlyoffice/Services"
|
||||
SSL_OCSP_CERTIFICATE_PATH="${ROOT_DIR}/stapling.trusted.crt";
|
||||
|
||||
SSL_CERTIFICATE_PATH="${ROOT_DIR}/onlyoffice.crt";
|
||||
SSL_KEY_PATH="${ROOT_DIR}/onlyoffice.key";
|
||||
SSL_DHPARAM_PATH="${ROOT_DIR}/dhparam.pem";
|
||||
|
||||
mkdir -p ${ROOT_DIR}
|
||||
@ -16,19 +17,12 @@ if [ ! -f ${SSL_DHPARAM_PATH} ]; then
|
||||
mv dhparam.pem ${SSL_DHPARAM_PATH};
|
||||
fi
|
||||
|
||||
SSL_CERTIFICATE_PATH="${ROOT_DIR}/onlyoffice.crt"
|
||||
SSL_KEY_PATH="${ROOT_DIR}/onlyoffice.key"
|
||||
SSL_CERTIFICATE_PATH_PFX="${ROOT_DIR}/onlyoffice.pfx"
|
||||
SSL_CERTIFICATE_PATH_PFX_PWD="onlyoffice";
|
||||
|
||||
openssl pkcs12 -export -out ${SSL_CERTIFICATE_PATH_PFX} -inkey ${SSL_KEY_PATH} -in ${SSL_CERTIFICATE_PATH} -password pass:${SSL_CERTIFICATE_PATH_PFX_PWD};
|
||||
|
||||
chown -R onlyoffice:onlyoffice ${ROOT_DIR}
|
||||
|
||||
DOCKER_ENABLED=false;
|
||||
|
||||
if cat /proc/1/cgroup | grep -qE "docker|lxc"; then
|
||||
DOCKER_ENABLED=true;
|
||||
if cat /proc/1/cgroup | grep -qE "docker|lxc|kubepods|libpod"; then
|
||||
DOCKER_ENABLED=true;
|
||||
fi
|
||||
|
||||
DOCKER_APP_SUBNET=$(ip -o -f inet addr show | awk '/scope global/ {print $4}' | head -1);
|
||||
@ -40,17 +34,15 @@ sed "s,{{SSL_KEY_PATH}},${SSL_KEY_PATH}," -i default-onlyoffice-ssl.conf;
|
||||
sed "s,{{SSL_DHPARAM_PATH}},${SSL_DHPARAM_PATH}," -i default-onlyoffice-ssl.conf;
|
||||
sed 's,{{SSL_VERIFY_CLIENT}},off,' -i default-onlyoffice-ssl.conf;
|
||||
sed '/{{CA_CERTIFICATES_PATH}}/d' -i default-onlyoffice-ssl.conf;
|
||||
sed 's/{{APP_HTTPS_HSTS_MAXAGE}}/63072000/' -i default-onlyoffice-ssl.conf;
|
||||
|
||||
if [ "${DOCKER_ENABLED}" = "true" ] && [ ${DOCKER_APP_SUBNET} ]; then
|
||||
sed 's,{{DOCKER_APP_SUBNET}},'"${DOCKER_APP_SUBNET}"',' -i default-onlyoffice-ssl.conf;
|
||||
sed 's,{{DOCKER_APP_SUBNET}},'"${DOCKER_APP_SUBNET}"',' -i default-onlyoffice-ssl.conf;
|
||||
else
|
||||
sed '/{{DOCKER_APP_SUBNET}}/d' -i default-onlyoffice-ssl.conf;
|
||||
sed '/{{DOCKER_APP_SUBNET}}/d' -i default-onlyoffice-ssl.conf;
|
||||
fi
|
||||
|
||||
sed 's/{{APP_NIGNX_KEEPLIVE}}/64/g' -i default-onlyoffice-ssl.conf;
|
||||
|
||||
|
||||
# if dhparam path is valid, add to the config, otherwise remove the option
|
||||
if [ -r "${SSL_OCSP_CERTIFICATE_PATH}" ]; then
|
||||
sed 's,{{SSL_OCSP_CERTIFICATE_PATH}},'"${SSL_OCSP_CERTIFICATE_PATH}"',' -i default-onlyoffice-ssl.conf;
|
||||
@ -62,14 +54,9 @@ else
|
||||
sed '/resolver_timeout/d' -i default-onlyoffice-ssl.conf;
|
||||
fi
|
||||
|
||||
sed '/certificate"/s!\(value\s*=\s*\"\).*\"!\1'${SSL_CERTIFICATE_PATH_PFX}'\"!' -i ${APP_SERVICES_ROOT_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
sed '/certificatePassword/s/\(value\s*=\s*\"\).*\"/\1'${SSL_CERTIFICATE_PATH_PFX_PWD}'\"/' -i ${APP_SERVICES_ROOT_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
sed '/startTls/s/\(value\s*=\s*\"\).*\"/\1optional\"/' -i ${APP_SERVICES_ROOT_DIR}/TeamLabSvc/TeamLabSvc.exe.config;
|
||||
|
||||
sed '/mail\.default-api-scheme/s/\(value\s*=\s*\"\).*\"/\1https\"/' -i ${APP_SERVICES_ROOT_DIR}/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config;
|
||||
|
||||
mv -f default-onlyoffice-ssl.conf ${NGINX_CONF_DIR}/onlyoffice
|
||||
|
||||
service onlyofficeMailAggregator restart
|
||||
service onlyofficeJabber restart
|
||||
service nginx restart
|
||||
service nginx reload
|
||||
|
@ -7,13 +7,13 @@ NGINX_CONF_DIR="/etc/nginx/sites-enabled";
|
||||
cp $NGINX_ROOT_DIR/includes/onlyoffice-communityserver-common.conf.template default-onlyoffice.conf;
|
||||
|
||||
sed 's/{{APP_NIGNX_KEEPLIVE}}/64/g' -i default-onlyoffice.conf;
|
||||
sed '/mail\.default-api-scheme/s/\(value\s*=\s*\"\).*\"/\1http\"/' -i /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config;
|
||||
sed '/mail\.default-api-scheme/s/\(value\s*=\s*\"\).*\"/\1http\"/' -i ${APP_SERVICES_ROOT_DIR}/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe.config;
|
||||
|
||||
mv -f default-onlyoffice.conf ${NGINX_CONF_DIR}/onlyoffice
|
||||
|
||||
sed '/certificate"/s!\(value\s*=\s*\"\).*\"!\1\"!' -i ${APP_SERVICES_ROOT_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
sed '/certificatePassword/s/\(value\s*=\s*\"\).*\"/\1\"/' -i ${APP_SERVICES_ROOT_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
sed '/startTls/s/\(value\s*=\s*\"\).*\"/\1none\"/' -i ${APP_SERVICES_ROOT_DIR}/TeamLabSvc/TeamLabSvc.exe.config;
|
||||
sed '/certificate"/s!\(value\s*=\s*\"\).*\"!\1\"!' -i ${APP_SERVICES_ROOT_DIR}/Jabber/ASC.Xmpp.Server.Launcher.exe.config
|
||||
sed '/certificatePassword/s/\(value\s*=\s*\"\).*\"/\1\"/' -i ${APP_SERVICES_ROOT_DIR}/Jabber/ASC.Xmpp.Server.Launcher.exe.config
|
||||
sed '/startTls/s/\(value\s*=\s*\"\).*\"/\1none\"/' -i ${APP_SERVICES_ROOT_DIR}/Jabber/ASC.Xmpp.Server.Launcher.exe.config
|
||||
|
||||
service onlyofficeJabber restart
|
||||
service onlyofficeMailAggregator restart
|
||||
|
@ -2,21 +2,20 @@
|
||||
|
||||
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
ROOT_DIR="/var/www/onlyoffice/Data/certs";
|
||||
LETSENCRYPT_ROOT_DIR="/etc/letsencrypt/live";
|
||||
LETSENCRYPT_ROOT_DIR="/etc/letsencrypt";
|
||||
|
||||
certbot certonly --expand --webroot -w ${ROOT_DIR} --noninteractive --agree-tos --email support@$1 $1;
|
||||
|
||||
cp ${LETSENCRYPT_ROOT_DIR}/$1/fullchain.pem ${ROOT_DIR}/mail.onlyoffice.crt
|
||||
cp ${LETSENCRYPT_ROOT_DIR}/$1/privkey.pem ${ROOT_DIR}/mail.onlyoffice.key
|
||||
mkdir -p ${ROOT_DIR}
|
||||
|
||||
cat > ${LETSENCRYPT_ROOT_DIR}/renewal-hooks/deploy/mailserver.sh <<END
|
||||
#!/bin/bash
|
||||
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/fullchain.pem ${ROOT_DIR}/mail.onlyoffice.crt
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/privkey.pem ${ROOT_DIR}/mail.onlyoffice.key
|
||||
|
||||
service nginx reload
|
||||
|
||||
cat > ${DIR}/letsencrypt_mail_cron.sh <<END
|
||||
certbot renew >> /var/log/le-renew.log
|
||||
cp ${LETSENCRYPT_ROOT_DIR}/$1/fullchain.pem ${ROOT_DIR}/mail.onlyoffice.crt
|
||||
cp ${LETSENCRYPT_ROOT_DIR}/$1/privkey.pem ${ROOT_DIR}/mail.onlyoffice.key
|
||||
END
|
||||
|
||||
chmod a+x ${DIR}/letsencrypt_mail_cron.sh
|
||||
|
||||
cat > /etc/cron.d/letsencrypt_mail <<END
|
||||
@weekly root ${DIR}/letsencrypt_mail_cron.sh
|
||||
END
|
||||
chmod a+x ${LETSENCRYPT_ROOT_DIR}/renewal-hooks/deploy/mailserver.sh
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
set -e
|
||||
|
||||
LETSENCRYPT_ROOT_DIR="/etc/letsencrypt/live";
|
||||
LETSENCRYPT_ROOT_DIR="/etc/letsencrypt";
|
||||
ROOT_DIR="/var/www/onlyoffice/Data/certs";
|
||||
|
||||
_domains="";
|
||||
@ -17,24 +17,22 @@ mkdir -p ${ROOT_DIR}
|
||||
|
||||
certbot certonly --expand --webroot -w ${ROOT_DIR} --noninteractive --agree-tos --email support@$1 $_domains;
|
||||
|
||||
cp /etc/letsencrypt/live/$1/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
|
||||
cp /etc/letsencrypt/live/$1/privkey.pem ${ROOT_DIR}/onlyoffice.key
|
||||
cp /etc/letsencrypt/live/$1/chain.pem ${ROOT_DIR}/stapling.trusted.crt
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/privkey.pem ${ROOT_DIR}/onlyoffice.key
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/chain.pem ${ROOT_DIR}/stapling.trusted.crt
|
||||
|
||||
cat > ${LETSENCRYPT_ROOT_DIR}/renewal-hooks/deploy/communityserver.sh <<END
|
||||
#!/bin/bash
|
||||
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/privkey.pem ${ROOT_DIR}/onlyoffice.key
|
||||
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/chain.pem ${ROOT_DIR}/stapling.trusted.crt
|
||||
|
||||
cat > ${DIR}/letsencrypt_cron.sh <<END
|
||||
certbot renew >> /var/log/le-renew.log
|
||||
cp ${LETSENCRYPT_ROOT_DIR}/$1/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
|
||||
cp ${LETSENCRYPT_ROOT_DIR}/$1/privkey.pem ${ROOT_DIR}/onlyoffice.key
|
||||
cp ${LETSENCRYPT_ROOT_DIR}/$1/chain.pem ${ROOT_DIR}/stapling.trusted.crt
|
||||
openssl pkcs12 -export -out ${ROOT_DIR}/onlyoffice.pfx -inkey ${ROOT_DIR}/onlyoffice.key -in ${ROOT_DIR}/onlyoffice.crt -password pass:onlyoffice
|
||||
chown onlyoffice:onlyoffice ${ROOT_DIR}/onlyoffice.pfx
|
||||
service nginx reload
|
||||
|
||||
END
|
||||
|
||||
chmod a+x ${DIR}/letsencrypt_cron.sh
|
||||
|
||||
cat > /etc/cron.d/letsencrypt <<END
|
||||
@weekly root ${DIR}/letsencrypt_cron.sh
|
||||
END
|
||||
chmod a+x ${LETSENCRYPT_ROOT_DIR}/renewal-hooks/deploy/communityserver.sh
|
||||
|
||||
source $DIR/default-onlyoffice-ssl.sh
|
||||
|
||||
|
@ -1,22 +1,9 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
DB_HOST=""
|
||||
DB_NAME=""
|
||||
DB_USER=""
|
||||
DB_PWD=""
|
||||
|
||||
apply_connection_string(){
|
||||
if [ "$DB_HOST" != "localhost" ] || [ "$DB_NAME" != "{{package_sysname}}" ] || [ "$DB_USER" != "root" ] || [ "$DB_PWD" != "" ]; then
|
||||
if [ -d /var/www/{{package_sysname}}/ ]; then
|
||||
find "/var/www/{{package_sysname}}/" -type f -name "*.[cC]onfig" -exec sed -i "s/connectionString=.*/connectionString=\"Server=$DB_HOST;Database=$DB_NAME;User ID=$DB_USER;Password=$DB_PWD;Pooling=true;Character Set=utf8;AutoEnlist=false\" providerName=\"MySql.Data.MySqlClient\"\/>/" {} \;
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
db_input medium {{package_sysname}}-communityserver/db-host || true
|
||||
db_input medium {{package_sysname}}-communityserver/db-name || true
|
||||
db_input medium {{package_sysname}}-communityserver/db-user || true
|
||||
@ -25,18 +12,4 @@ db_go
|
||||
db_input critical {{package_sysname}}-communityserver/db-pwd || true
|
||||
db_go
|
||||
|
||||
db_get {{package_sysname}}-communityserver/db-host
|
||||
DB_HOST="$RET"
|
||||
|
||||
db_get {{package_sysname}}-communityserver/db-name
|
||||
DB_NAME="$RET"
|
||||
|
||||
db_get {{package_sysname}}-communityserver/db-user
|
||||
DB_USER="$RET"
|
||||
|
||||
db_get {{package_sysname}}-communityserver/db-pwd
|
||||
DB_PWD="$RET"
|
||||
|
||||
apply_connection_string
|
||||
|
||||
exit 0
|
@ -2,9 +2,9 @@ Source: {{package_sysname}}-communityserver
|
||||
Section: web
|
||||
Priority: optional
|
||||
Maintainer: {{package_section_maintainer}}
|
||||
Build-Depends: debhelper (>= 8.0.0)
|
||||
Build-Depends: debhelper (>=9), dh-systemd
|
||||
|
||||
Package: {{package_sysname}}-communityserver
|
||||
Architecture: all
|
||||
Depends: ${shlibs:Depends}, ${misc:Depends}, {{package_header_tag_requires}}
|
||||
Depends: ${misc:Depends}, {{package_header_tag_requires}}
|
||||
Description: {{package_section_description}}
|
@ -5,698 +5,216 @@ Source: {{package_header_tag_url}}
|
||||
Files: *
|
||||
Copyright: {{package_header_tag_vendor}}
|
||||
|
||||
This program is freeware. You can redistribute it and/or modify it under the terms of the GNU
|
||||
General Public License (GPL) version 3 as published by the Free Software Foundation (https://www.gnu.org/copyleft/gpl.html).
|
||||
In accordance with Section 7(a) of the GNU GPL its Section 15 shall be amended to the effect that
|
||||
Ascensio System SIA expressly excludes the warranty of non-infringement of any third-party rights.
|
||||
|
||||
THIS PROGRAM IS DISTRIBUTED WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR
|
||||
FITNESS FOR A PARTICULAR PURPOSE. For more details, see GNU GPL at https://www.gnu.org/copyleft/gpl.html
|
||||
|
||||
You can contact Ascensio System SIA by email at sales@onlyoffice.com
|
||||
|
||||
The interactive user interfaces in modified source and object code versions of ONLYOFFICE must display
|
||||
Appropriate Legal Notices, as required under Section 5 of the GNU GPL version 3.
|
||||
|
||||
Pursuant to Section 7 <20> 3(b) of the GNU GPL you must retain the original ONLYOFFICE logo which contains
|
||||
relevant author attributions when distributing the software. If the display of the logo in its graphic
|
||||
form is not reasonably feasible for technical reasons, you must include the words "Powered by ONLYOFFICE"
|
||||
in every copy of the program you distribute.
|
||||
Pursuant to Section 7 <20> 3(e) we decline to grant you any rights under trademark law for use of our trademarks.
|
||||
|
||||
License: GPLv3
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 3, 29 June 2007
|
||||
|
||||
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The GNU General Public License is a free, copyleft license for
|
||||
software and other kinds of works.
|
||||
|
||||
The licenses for most software and other practical works are designed
|
||||
to take away your freedom to share and change the works. By contrast,
|
||||
the GNU General Public License is intended to guarantee your freedom to
|
||||
share and change all versions of a program--to make sure it remains free
|
||||
software for all its users. We, the Free Software Foundation, use the
|
||||
GNU General Public License for most of our software; it applies also to
|
||||
any other work released this way by its authors. You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
them if you wish), that you receive source code or can get it if you
|
||||
want it, that you can change the software or use pieces of it in new
|
||||
free programs, and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to prevent others from denying you
|
||||
these rights or asking you to surrender the rights. Therefore, you have
|
||||
certain responsibilities if you distribute copies of the software, or if
|
||||
you modify it: responsibilities to respect the freedom of others.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must pass on to the recipients the same
|
||||
freedoms that you received. You must make sure that they, too, receive
|
||||
or can get the source code. And you must show them these terms so they
|
||||
know their rights.
|
||||
|
||||
Developers that use the GNU GPL protect your rights with two steps:
|
||||
(1) assert copyright on the software, and (2) offer you this License
|
||||
giving you legal permission to copy, distribute and/or modify it.
|
||||
|
||||
For the developers' and authors' protection, the GPL clearly explains
|
||||
that there is no warranty for this free software. For both users' and
|
||||
authors' sake, the GPL requires that modified versions be marked as
|
||||
changed, so that their problems will not be attributed erroneously to
|
||||
authors of previous versions.
|
||||
|
||||
Some devices are designed to deny users access to install or run
|
||||
modified versions of the software inside them, although the manufacturer
|
||||
can do so. This is fundamentally incompatible with the aim of
|
||||
protecting users' freedom to change the software. The systematic
|
||||
pattern of such abuse occurs in the area of products for individuals to
|
||||
use, which is precisely where it is most unacceptable. Therefore, we
|
||||
have designed this version of the GPL to prohibit the practice for those
|
||||
products. If such problems arise substantially in other domains, we
|
||||
stand ready to extend this provision to those domains in future versions
|
||||
of the GPL, as needed to protect the freedom of users.
|
||||
|
||||
Finally, every program is threatened constantly by software patents.
|
||||
States should not allow patents to restrict development and use of
|
||||
software on general-purpose computers, but in those that do, we wish to
|
||||
avoid the special danger that patents applied to a free program could
|
||||
make it effectively proprietary. To prevent this, the GPL assures that
|
||||
patents cannot be used to render the program non-free.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
TERMS AND CONDITIONS
|
||||
|
||||
0. Definitions.
|
||||
|
||||
"This License" refers to version 3 of the GNU General Public License.
|
||||
|
||||
"Copyright" also means copyright-like laws that apply to other kinds of
|
||||
works, such as semiconductor masks.
|
||||
|
||||
"The Program" refers to any copyrightable work licensed under this
|
||||
License. Each licensee is addressed as "you". "Licensees" and
|
||||
"recipients" may be individuals or organizations.
|
||||
|
||||
To "modify" a work means to copy from or adapt all or part of the work
|
||||
in a fashion requiring copyright permission, other than the making of an
|
||||
exact copy. The resulting work is called a "modified version" of the
|
||||
earlier work or a work "based on" the earlier work.
|
||||
|
||||
A "covered work" means either the unmodified Program or a work based
|
||||
on the Program.
|
||||
|
||||
To "propagate" a work means to do anything with it that, without
|
||||
permission, would make you directly or secondarily liable for
|
||||
infringement under applicable copyright law, except executing it on a
|
||||
computer or modifying a private copy. Propagation includes copying,
|
||||
distribution (with or without modification), making available to the
|
||||
public, and in some countries other activities as well.
|
||||
|
||||
To "convey" a work means any kind of propagation that enables other
|
||||
parties to make or receive copies. Mere interaction with a user through
|
||||
a computer network, with no transfer of a copy, is not conveying.
|
||||
|
||||
An interactive user interface displays "Appropriate Legal Notices"
|
||||
to the extent that it includes a convenient and prominently visible
|
||||
feature that (1) displays an appropriate copyright notice, and (2)
|
||||
tells the user that there is no warranty for the work (except to the
|
||||
extent that warranties are provided), that licensees may convey the
|
||||
work under this License, and how to view a copy of this License. If
|
||||
the interface presents a list of user commands or options, such as a
|
||||
menu, a prominent item in the list meets this criterion.
|
||||
|
||||
1. Source Code.
|
||||
|
||||
The "source code" for a work means the preferred form of the work
|
||||
for making modifications to it. "Object code" means any non-source
|
||||
form of a work.
|
||||
|
||||
A "Standard Interface" means an interface that either is an official
|
||||
standard defined by a recognized standards body, or, in the case of
|
||||
interfaces specified for a particular programming language, one that
|
||||
is widely used among developers working in that language.
|
||||
|
||||
The "System Libraries" of an executable work include anything, other
|
||||
than the work as a whole, that (a) is included in the normal form of
|
||||
packaging a Major Component, but which is not part of that Major
|
||||
Component, and (b) serves only to enable use of the work with that
|
||||
Major Component, or to implement a Standard Interface for which an
|
||||
implementation is available to the public in source code form. A
|
||||
"Major Component", in this context, means a major essential component
|
||||
(kernel, window system, and so on) of the specific operating system
|
||||
(if any) on which the executable work runs, or a compiler used to
|
||||
produce the work, or an object code interpreter used to run it.
|
||||
|
||||
The "Corresponding Source" for a work in object code form means all
|
||||
the source code needed to generate, install, and (for an executable
|
||||
work) run the object code and to modify the work, including scripts to
|
||||
control those activities. However, it does not include the work's
|
||||
System Libraries, or general-purpose tools or generally available free
|
||||
programs which are used unmodified in performing those activities but
|
||||
which are not part of the work. For example, Corresponding Source
|
||||
includes interface definition files associated with source files for
|
||||
the work, and the source code for shared libraries and dynamically
|
||||
linked subprograms that the work is specifically designed to require,
|
||||
such as by intimate data communication or control flow between those
|
||||
subprograms and other parts of the work.
|
||||
|
||||
The Corresponding Source need not include anything that users
|
||||
can regenerate automatically from other parts of the Corresponding
|
||||
Source.
|
||||
|
||||
The Corresponding Source for a work in source code form is that
|
||||
same work.
|
||||
|
||||
2. Basic Permissions.
|
||||
|
||||
All rights granted under this License are granted for the term of
|
||||
copyright on the Program, and are irrevocable provided the stated
|
||||
conditions are met. This License explicitly affirms your unlimited
|
||||
permission to run the unmodified Program. The output from running a
|
||||
covered work is covered by this License only if the output, given its
|
||||
content, constitutes a covered work. This License acknowledges your
|
||||
rights of fair use or other equivalent, as provided by copyright law.
|
||||
|
||||
You may make, run and propagate covered works that you do not
|
||||
convey, without conditions so long as your license otherwise remains
|
||||
in force. You may convey covered works to others for the sole purpose
|
||||
of having them make modifications exclusively for you, or provide you
|
||||
with facilities for running those works, provided that you comply with
|
||||
the terms of this License in conveying all material for which you do
|
||||
not control copyright. Those thus making or running the covered works
|
||||
for you must do so exclusively on your behalf, under your direction
|
||||
and control, on terms that prohibit them from making any copies of
|
||||
your copyrighted material outside their relationship with you.
|
||||
|
||||
Conveying under any other circumstances is permitted solely under
|
||||
the conditions stated below. Sublicensing is not allowed; section 10
|
||||
makes it unnecessary.
|
||||
|
||||
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
||||
|
||||
No covered work shall be deemed part of an effective technological
|
||||
measure under any applicable law fulfilling obligations under article
|
||||
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
||||
similar laws prohibiting or restricting circumvention of such
|
||||
measures.
|
||||
|
||||
When you convey a covered work, you waive any legal power to forbid
|
||||
circumvention of technological measures to the extent such circumvention
|
||||
is effected by exercising rights under this License with respect to
|
||||
the covered work, and you disclaim any intention to limit operation or
|
||||
modification of the work as a means of enforcing, against the work's
|
||||
users, your or third parties' legal rights to forbid circumvention of
|
||||
technological measures.
|
||||
|
||||
4. Conveying Verbatim Copies.
|
||||
|
||||
You may convey verbatim copies of the Program's source code as you
|
||||
receive it, in any medium, provided that you conspicuously and
|
||||
appropriately publish on each copy an appropriate copyright notice;
|
||||
keep intact all notices stating that this License and any
|
||||
non-permissive terms added in accord with section 7 apply to the code;
|
||||
keep intact all notices of the absence of any warranty; and give all
|
||||
recipients a copy of this License along with the Program.
|
||||
|
||||
You may charge any price or no price for each copy that you convey,
|
||||
and you may offer support or warranty protection for a fee.
|
||||
|
||||
5. Conveying Modified Source Versions.
|
||||
|
||||
You may convey a work based on the Program, or the modifications to
|
||||
produce it from the Program, in the form of source code under the
|
||||
terms of section 4, provided that you also meet all of these conditions:
|
||||
|
||||
a) The work must carry prominent notices stating that you modified
|
||||
it, and giving a relevant date.
|
||||
|
||||
b) The work must carry prominent notices stating that it is
|
||||
released under this License and any conditions added under section
|
||||
7. This requirement modifies the requirement in section 4 to
|
||||
"keep intact all notices".
|
||||
|
||||
c) You must license the entire work, as a whole, under this
|
||||
License to anyone who comes into possession of a copy. This
|
||||
License will therefore apply, along with any applicable section 7
|
||||
additional terms, to the whole of the work, and all its parts,
|
||||
regardless of how they are packaged. This License gives no
|
||||
permission to license the work in any other way, but it does not
|
||||
invalidate such permission if you have separately received it.
|
||||
|
||||
d) If the work has interactive user interfaces, each must display
|
||||
Appropriate Legal Notices; however, if the Program has interactive
|
||||
interfaces that do not display Appropriate Legal Notices, your
|
||||
work need not make them do so.
|
||||
|
||||
A compilation of a covered work with other separate and independent
|
||||
works, which are not by their nature extensions of the covered work,
|
||||
and which are not combined with it such as to form a larger program,
|
||||
in or on a volume of a storage or distribution medium, is called an
|
||||
"aggregate" if the compilation and its resulting copyright are not
|
||||
used to limit the access or legal rights of the compilation's users
|
||||
beyond what the individual works permit. Inclusion of a covered work
|
||||
in an aggregate does not cause this License to apply to the other
|
||||
parts of the aggregate.
|
||||
|
||||
6. Conveying Non-Source Forms.
|
||||
|
||||
You may convey a covered work in object code form under the terms
|
||||
of sections 4 and 5, provided that you also convey the
|
||||
machine-readable Corresponding Source under the terms of this License,
|
||||
in one of these ways:
|
||||
|
||||
a) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by the
|
||||
Corresponding Source fixed on a durable physical medium
|
||||
customarily used for software interchange.
|
||||
|
||||
b) Convey the object code in, or embodied in, a physical product
|
||||
(including a physical distribution medium), accompanied by a
|
||||
written offer, valid for at least three years and valid for as
|
||||
long as you offer spare parts or customer support for that product
|
||||
model, to give anyone who possesses the object code either (1) a
|
||||
copy of the Corresponding Source for all the software in the
|
||||
product that is covered by this License, on a durable physical
|
||||
medium customarily used for software interchange, for a price no
|
||||
more than your reasonable cost of physically performing this
|
||||
conveying of source, or (2) access to copy the
|
||||
Corresponding Source from a network server at no charge.
|
||||
|
||||
c) Convey individual copies of the object code with a copy of the
|
||||
written offer to provide the Corresponding Source. This
|
||||
alternative is allowed only occasionally and noncommercially, and
|
||||
only if you received the object code with such an offer, in accord
|
||||
with subsection 6b.
|
||||
|
||||
d) Convey the object code by offering access from a designated
|
||||
place (gratis or for a charge), and offer equivalent access to the
|
||||
Corresponding Source in the same way through the same place at no
|
||||
further charge. You need not require recipients to copy the
|
||||
Corresponding Source along with the object code. If the place to
|
||||
copy the object code is a network server, the Corresponding Source
|
||||
may be on a different server (operated by you or a third party)
|
||||
that supports equivalent copying facilities, provided you maintain
|
||||
clear directions next to the object code saying where to find the
|
||||
Corresponding Source. Regardless of what server hosts the
|
||||
Corresponding Source, you remain obligated to ensure that it is
|
||||
available for as long as needed to satisfy these requirements.
|
||||
|
||||
e) Convey the object code using peer-to-peer transmission, provided
|
||||
you inform other peers where the object code and Corresponding
|
||||
Source of the work are being offered to the general public at no
|
||||
charge under subsection 6d.
|
||||
|
||||
A separable portion of the object code, whose source code is excluded
|
||||
from the Corresponding Source as a System Library, need not be
|
||||
included in conveying the object code work.
|
||||
|
||||
A "User Product" is either (1) a "consumer product", which means any
|
||||
tangible personal property which is normally used for personal, family,
|
||||
or household purposes, or (2) anything designed or sold for incorporation
|
||||
into a dwelling. In determining whether a product is a consumer product,
|
||||
doubtful cases shall be resolved in favor of coverage. For a particular
|
||||
product received by a particular user, "normally used" refers to a
|
||||
typical or common use of that class of product, regardless of the status
|
||||
of the particular user or of the way in which the particular user
|
||||
actually uses, or expects or is expected to use, the product. A product
|
||||
is a consumer product regardless of whether the product has substantial
|
||||
commercial, industrial or non-consumer uses, unless such uses represent
|
||||
the only significant mode of use of the product.
|
||||
|
||||
"Installation Information" for a User Product means any methods,
|
||||
procedures, authorization keys, or other information required to install
|
||||
and execute modified versions of a covered work in that User Product from
|
||||
a modified version of its Corresponding Source. The information must
|
||||
suffice to ensure that the continued functioning of the modified object
|
||||
code is in no case prevented or interfered with solely because
|
||||
modification has been made.
|
||||
|
||||
If you convey an object code work under this section in, or with, or
|
||||
specifically for use in, a User Product, and the conveying occurs as
|
||||
part of a transaction in which the right of possession and use of the
|
||||
User Product is transferred to the recipient in perpetuity or for a
|
||||
fixed term (regardless of how the transaction is characterized), the
|
||||
Corresponding Source conveyed under this section must be accompanied
|
||||
by the Installation Information. But this requirement does not apply
|
||||
if neither you nor any third party retains the ability to install
|
||||
modified object code on the User Product (for example, the work has
|
||||
been installed in ROM).
|
||||
|
||||
The requirement to provide Installation Information does not include a
|
||||
requirement to continue to provide support service, warranty, or updates
|
||||
for a work that has been modified or installed by the recipient, or for
|
||||
the User Product in which it has been modified or installed. Access to a
|
||||
network may be denied when the modification itself materially and
|
||||
adversely affects the operation of the network or violates the rules and
|
||||
protocols for communication across the network.
|
||||
|
||||
Corresponding Source conveyed, and Installation Information provided,
|
||||
in accord with this section must be in a format that is publicly
|
||||
documented (and with an implementation available to the public in
|
||||
source code form), and must require no special password or key for
|
||||
unpacking, reading or copying.
|
||||
|
||||
7. Additional Terms.
|
||||
|
||||
"Additional permissions" are terms that supplement the terms of this
|
||||
License by making exceptions from one or more of its conditions.
|
||||
Additional permissions that are applicable to the entire Program shall
|
||||
be treated as though they were included in this License, to the extent
|
||||
that they are valid under applicable law. If additional permissions
|
||||
apply only to part of the Program, that part may be used separately
|
||||
under those permissions, but the entire Program remains governed by
|
||||
this License without regard to the additional permissions.
|
||||
|
||||
When you convey a copy of a covered work, you may at your option
|
||||
remove any additional permissions from that copy, or from any part of
|
||||
it. (Additional permissions may be written to require their own
|
||||
removal in certain cases when you modify the work.) You may place
|
||||
additional permissions on material, added by you to a covered work,
|
||||
for which you have or can give appropriate copyright permission.
|
||||
|
||||
Notwithstanding any other provision of this License, for material you
|
||||
add to a covered work, you may (if authorized by the copyright holders of
|
||||
that material) supplement the terms of this License with terms:
|
||||
|
||||
a) Disclaiming warranty or limiting liability differently from the
|
||||
terms of sections 15 and 16 of this License; or
|
||||
|
||||
b) Requiring preservation of specified reasonable legal notices or
|
||||
author attributions in that material or in the Appropriate Legal
|
||||
Notices displayed by works containing it; or
|
||||
|
||||
c) Prohibiting misrepresentation of the origin of that material, or
|
||||
requiring that modified versions of such material be marked in
|
||||
reasonable ways as different from the original version; or
|
||||
|
||||
d) Limiting the use for publicity purposes of names of licensors or
|
||||
authors of the material; or
|
||||
|
||||
e) Declining to grant rights under trademark law for use of some
|
||||
trade names, trademarks, or service marks; or
|
||||
|
||||
f) Requiring indemnification of licensors and authors of that
|
||||
material by anyone who conveys the material (or modified versions of
|
||||
it) with contractual assumptions of liability to the recipient, for
|
||||
any liability that these contractual assumptions directly impose on
|
||||
those licensors and authors.
|
||||
|
||||
All other non-permissive additional terms are considered "further
|
||||
restrictions" within the meaning of section 10. If the Program as you
|
||||
received it, or any part of it, contains a notice stating that it is
|
||||
governed by this License along with a term that is a further
|
||||
restriction, you may remove that term. If a license document contains
|
||||
a further restriction but permits relicensing or conveying under this
|
||||
License, you may add to a covered work material governed by the terms
|
||||
of that license document, provided that the further restriction does
|
||||
not survive such relicensing or conveying.
|
||||
|
||||
If you add terms to a covered work in accord with this section, you
|
||||
must place, in the relevant source files, a statement of the
|
||||
additional terms that apply to those files, or a notice indicating
|
||||
where to find the applicable terms.
|
||||
|
||||
Additional terms, permissive or non-permissive, may be stated in the
|
||||
form of a separately written license, or stated as exceptions;
|
||||
the above requirements apply either way.
|
||||
|
||||
8. Termination.
|
||||
|
||||
You may not propagate or modify a covered work except as expressly
|
||||
provided under this License. Any attempt otherwise to propagate or
|
||||
modify it is void, and will automatically terminate your rights under
|
||||
this License (including any patent licenses granted under the third
|
||||
paragraph of section 11).
|
||||
|
||||
However, if you cease all violation of this License, then your
|
||||
license from a particular copyright holder is reinstated (a)
|
||||
provisionally, unless and until the copyright holder explicitly and
|
||||
finally terminates your license, and (b) permanently, if the copyright
|
||||
holder fails to notify you of the violation by some reasonable means
|
||||
prior to 60 days after the cessation.
|
||||
|
||||
Moreover, your license from a particular copyright holder is
|
||||
reinstated permanently if the copyright holder notifies you of the
|
||||
violation by some reasonable means, this is the first time you have
|
||||
received notice of violation of this License (for any work) from that
|
||||
copyright holder, and you cure the violation prior to 30 days after
|
||||
your receipt of the notice.
|
||||
|
||||
Termination of your rights under this section does not terminate the
|
||||
licenses of parties who have received copies or rights from you under
|
||||
this License. If your rights have been terminated and not permanently
|
||||
reinstated, you do not qualify to receive new licenses for the same
|
||||
material under section 10.
|
||||
|
||||
9. Acceptance Not Required for Having Copies.
|
||||
|
||||
You are not required to accept this License in order to receive or
|
||||
run a copy of the Program. Ancillary propagation of a covered work
|
||||
occurring solely as a consequence of using peer-to-peer transmission
|
||||
to receive a copy likewise does not require acceptance. However,
|
||||
nothing other than this License grants you permission to propagate or
|
||||
modify any covered work. These actions infringe copyright if you do
|
||||
not accept this License. Therefore, by modifying or propagating a
|
||||
covered work, you indicate your acceptance of this License to do so.
|
||||
|
||||
10. Automatic Licensing of Downstream Recipients.
|
||||
|
||||
Each time you convey a covered work, the recipient automatically
|
||||
receives a license from the original licensors, to run, modify and
|
||||
propagate that work, subject to this License. You are not responsible
|
||||
for enforcing compliance by third parties with this License.
|
||||
|
||||
An "entity transaction" is a transaction transferring control of an
|
||||
organization, or substantially all assets of one, or subdividing an
|
||||
organization, or merging organizations. If propagation of a covered
|
||||
work results from an entity transaction, each party to that
|
||||
transaction who receives a copy of the work also receives whatever
|
||||
licenses to the work the party's predecessor in interest had or could
|
||||
give under the previous paragraph, plus a right to possession of the
|
||||
Corresponding Source of the work from the predecessor in interest, if
|
||||
the predecessor has it or can get it with reasonable efforts.
|
||||
|
||||
You may not impose any further restrictions on the exercise of the
|
||||
rights granted or affirmed under this License. For example, you may
|
||||
not impose a license fee, royalty, or other charge for exercise of
|
||||
rights granted under this License, and you may not initiate litigation
|
||||
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
||||
any patent claim is infringed by making, using, selling, offering for
|
||||
sale, or importing the Program or any portion of it.
|
||||
|
||||
11. Patents.
|
||||
|
||||
A "contributor" is a copyright holder who authorizes use under this
|
||||
License of the Program or a work on which the Program is based. The
|
||||
work thus licensed is called the contributor's "contributor version".
|
||||
|
||||
A contributor's "essential patent claims" are all patent claims
|
||||
owned or controlled by the contributor, whether already acquired or
|
||||
hereafter acquired, that would be infringed by some manner, permitted
|
||||
by this License, of making, using, or selling its contributor version,
|
||||
but do not include claims that would be infringed only as a
|
||||
consequence of further modification of the contributor version. For
|
||||
purposes of this definition, "control" includes the right to grant
|
||||
patent sublicenses in a manner consistent with the requirements of
|
||||
this License.
|
||||
|
||||
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
||||
patent license under the contributor's essential patent claims, to
|
||||
make, use, sell, offer for sale, import and otherwise run, modify and
|
||||
propagate the contents of its contributor version.
|
||||
|
||||
In the following three paragraphs, a "patent license" is any express
|
||||
agreement or commitment, however denominated, not to enforce a patent
|
||||
(such as an express permission to practice a patent or covenant not to
|
||||
sue for patent infringement). To "grant" such a patent license to a
|
||||
party means to make such an agreement or commitment not to enforce a
|
||||
patent against the party.
|
||||
|
||||
If you convey a covered work, knowingly relying on a patent license,
|
||||
and the Corresponding Source of the work is not available for anyone
|
||||
to copy, free of charge and under the terms of this License, through a
|
||||
publicly available network server or other readily accessible means,
|
||||
then you must either (1) cause the Corresponding Source to be so
|
||||
available, or (2) arrange to deprive yourself of the benefit of the
|
||||
patent license for this particular work, or (3) arrange, in a manner
|
||||
consistent with the requirements of this License, to extend the patent
|
||||
license to downstream recipients. "Knowingly relying" means you have
|
||||
actual knowledge that, but for the patent license, your conveying the
|
||||
covered work in a country, or your recipient's use of the covered work
|
||||
in a country, would infringe one or more identifiable patents in that
|
||||
country that you have reason to believe are valid.
|
||||
|
||||
If, pursuant to or in connection with a single transaction or
|
||||
arrangement, you convey, or propagate by procuring conveyance of, a
|
||||
covered work, and grant a patent license to some of the parties
|
||||
receiving the covered work authorizing them to use, propagate, modify
|
||||
or convey a specific copy of the covered work, then the patent license
|
||||
you grant is automatically extended to all recipients of the covered
|
||||
work and works based on it.
|
||||
|
||||
A patent license is "discriminatory" if it does not include within
|
||||
the scope of its coverage, prohibits the exercise of, or is
|
||||
conditioned on the non-exercise of one or more of the rights that are
|
||||
specifically granted under this License. You may not convey a covered
|
||||
work if you are a party to an arrangement with a third party that is
|
||||
in the business of distributing software, under which you make payment
|
||||
to the third party based on the extent of your activity of conveying
|
||||
the work, and under which the third party grants, to any of the
|
||||
parties who would receive the covered work from you, a discriminatory
|
||||
patent license (a) in connection with copies of the covered work
|
||||
conveyed by you (or copies made from those copies), or (b) primarily
|
||||
for and in connection with specific products or compilations that
|
||||
contain the covered work, unless you entered into that arrangement,
|
||||
or that patent license was granted, prior to 28 March 2007.
|
||||
|
||||
Nothing in this License shall be construed as excluding or limiting
|
||||
any implied license or other defenses to infringement that may
|
||||
otherwise be available to you under applicable patent law.
|
||||
|
||||
12. No Surrender of Others' Freedom.
|
||||
|
||||
If conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot convey a
|
||||
covered work so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you may
|
||||
not convey it at all. For example, if you agree to terms that obligate you
|
||||
to collect a royalty for further conveying from those to whom you convey
|
||||
the Program, the only way you could satisfy both those terms and this
|
||||
License would be to refrain entirely from conveying the Program.
|
||||
|
||||
13. Use with the GNU Affero General Public License.
|
||||
|
||||
Notwithstanding any other provision of this License, you have
|
||||
permission to link or combine any covered work with a work licensed
|
||||
under version 3 of the GNU Affero General Public License into a single
|
||||
combined work, and to convey the resulting work. The terms of this
|
||||
License will continue to apply to the part which is the covered work,
|
||||
but the special requirements of the GNU Affero General Public License,
|
||||
section 13, concerning interaction through a network will apply to the
|
||||
combination as such.
|
||||
|
||||
14. Revised Versions of this License.
|
||||
|
||||
The Free Software Foundation may publish revised and/or new versions of
|
||||
the GNU General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the
|
||||
Program specifies that a certain numbered version of the GNU General
|
||||
Public License "or any later version" applies to it, you have the
|
||||
option of following the terms and conditions either of that numbered
|
||||
version or of any later version published by the Free Software
|
||||
Foundation. If the Program does not specify a version number of the
|
||||
GNU General Public License, you may choose any version ever published
|
||||
by the Free Software Foundation.
|
||||
|
||||
If the Program specifies that a proxy can decide which future
|
||||
versions of the GNU General Public License can be used, that proxy's
|
||||
public statement of acceptance of a version permanently authorizes you
|
||||
to choose that version for the Program.
|
||||
|
||||
Later license versions may give you additional or different
|
||||
permissions. However, no additional obligations are imposed on any
|
||||
author or copyright holder as a result of your choosing to follow a
|
||||
later version.
|
||||
|
||||
15. Disclaimer of Warranty.
|
||||
|
||||
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
||||
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
||||
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
||||
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
||||
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
||||
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
||||
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
||||
|
||||
16. Limitation of Liability.
|
||||
|
||||
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
||||
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
||||
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
||||
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
||||
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
||||
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
||||
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
||||
SUCH DAMAGES.
|
||||
|
||||
17. Interpretation of Sections 15 and 16.
|
||||
|
||||
If the disclaimer of warranty and limitation of liability provided
|
||||
above cannot be given local legal effect according to their terms,
|
||||
reviewing courts shall apply local law that most closely approximates
|
||||
an absolute waiver of all civil liability in connection with the
|
||||
Program, unless a warranty or assumption of liability accompanies a
|
||||
copy of the Program in return for a fee.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
state the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
{one line to give the program's name and a brief idea of what it does.}
|
||||
Copyright (C) {year} {name of author}
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program does terminal interaction, make it output a short
|
||||
notice like this when it starts in an interactive mode:
|
||||
|
||||
{project} Copyright (C) {year} {fullname}
|
||||
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, your program's commands
|
||||
might be different; for a GUI interface, you would use an "about box".
|
||||
|
||||
You should also get your employer (if you work as a programmer) or school,
|
||||
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
||||
For more information on this, and how to apply and follow the GNU GPL, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
|
||||
The GNU General Public License does not permit incorporating your program
|
||||
into proprietary programs. If your program is a subroutine library, you
|
||||
may consider it more useful to permit linking proprietary applications with
|
||||
the library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License. But first, please read
|
||||
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
License: Apache-2.0
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
@ -1,42 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: god
|
||||
# Required-Start: $local_fs $syslog $remote_fs
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: start, stop, restart, status for God
|
||||
### END INIT INFO
|
||||
|
||||
NAME=god
|
||||
GOD_CONFIG=/etc/god/god.conf
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Starting $NAME... "
|
||||
god -c $GOD_CONFIG -P /var/run/$NAME.pid -l /var/log/$NAME.log </dev/null >/dev/null 2>&1 &
|
||||
sleep 2
|
||||
echo "OK"
|
||||
;;
|
||||
stop)
|
||||
echo -n "Stopping $NAME... "
|
||||
god quit
|
||||
echo "OK"
|
||||
;;
|
||||
restart)
|
||||
echo -n "Restarting $NAME... "
|
||||
god quit
|
||||
sleep 2
|
||||
god -c $GOD_CONFIG -P /var/run/$NAME.pid -l /var/log/$NAME.log </dev/null >/dev/null 2>&1 &
|
||||
sleep 2
|
||||
echo "OK"
|
||||
;;
|
||||
status)
|
||||
/usr/bin/god status
|
||||
;;
|
||||
*)
|
||||
echo "Usage: god {start|stop|restart|status}"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
16
build/install/deb/debian/god.service
Normal file
16
build/install/deb/debian/god.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=God Service
|
||||
After=network.target syslog.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /var/run/god.pid'
|
||||
ExecStart=/usr/bin/god -c /etc/god/god.conf -P /var/run/god.pid -l /var/log/god.log
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutSec=600
|
||||
|
||||
Restart=always
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,113 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: monoserve
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start FastCGI Mono server with hosts
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=monoserve
|
||||
PROGRAM=hyperfastcgi4
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=$USER
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
LOGFILE=/var/log/onlyoffice/$NAME.log
|
||||
ARGS="/logfile=$LOGFILE /config=/etc/hyperfastcgi/onlyoffice /loglevels=All"
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
export MONO_ASPNET_WEBCONFIG_CACHESIZE=2000
|
||||
export MONO_THREADS_PER_CPU=2000
|
||||
export MONO_GC_PARAMS=nursery-size=64m
|
||||
export MONO_THREADS_SUSPEND=preemptive
|
||||
export MONO_LOG_LEVEL="info"
|
||||
|
||||
test -e /var/run/onlyoffice || install -m 755 -o onlyoffice -g www-data -d /var/run/onlyoffice
|
||||
[ -e /var/run/onlyoffice/onlyoffice.socket ] && rm -f /var/run/onlyoffice/onlyoffice.socket
|
||||
start-stop-daemon -m -p $LOCKFILE -S -c $USER:$GROUP -x $DAEMON -- $ARGS </dev/null >$LOGFILE 2>&1 &
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep HyperFastCgi.exe | grep $NAME.log | grep -v grep | awk '{print $2}')
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
[ -n "$PID" ] && do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 2
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
25
build/install/deb/debian/monoserve.service
Normal file
25
build/install/deb/debian/monoserve.service
Normal file
@ -0,0 +1,25 @@
|
||||
[Unit]
|
||||
Description=FastCGI Mono server
|
||||
After=network.target syslog.target nginx.service mysqld.service redis-server.service
|
||||
Wants=nginx.service mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre=/bin/bash -c 'test -e /var/run/onlyoffice || install -m 755 -o onlyoffice -g nginx -d /var/run/onlyoffice; rm -f /var/run/onlyoffice/onlyoffice.socket'
|
||||
ExecStart=/usr/bin/hyperfastcgi4 /config=/etc/hyperfastcgi/onlyoffice /logfile=/var/log/onlyoffice/onlyoffice.log /loglevels=All
|
||||
Environment=LD_LIBRARY_PATH=/usr/lib MONO_PATH=/var/www/onlyoffice/WebStudio/bin/ MONO_IOMAP=all MONO_ASPNET_WEBCONFIG_CACHESIZE=2000 MONO_THREADS_PER_CPU=2000 MONO_GC_PARAMS=nursery-size=128m,soft-heap-limit=512m,bridge-implementation=tarjan MONO_LOG_LEVEL=info MONO_THREADS_SUSPEND=preemptive
|
||||
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutStartSec=600
|
||||
TimeoutStopSec=5
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,108 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: monoserveApiSystem
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start FastCGI Mono server with hosts
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=monoserveApiSystem
|
||||
PROGRAM=hyperfastcgi4
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=$USER
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
ARGS="/logfile=/var/log/onlyoffice/$NAME.log /config=/etc/hyperfastcgi/onlyofficeApiSystem"
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_THREADS_SUSPEND=preemptive
|
||||
export MONO_IOMAP=all
|
||||
|
||||
test -e /var/run/onlyoffice || install -m 755 -o onlyoffice -g www-data -d /var/run/onlyoffice
|
||||
[ -e /var/run/onlyoffice/onlyofficeApiSystem.socket ] && rm -f /var/run/onlyoffice/onlyofficeApiSystem.socket
|
||||
start-stop-daemon -m -p $LOCKFILE -S -c $USER:$GROUP -x $DAEMON -- $ARGS </dev/null >/dev/null 2>&1 &
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep HyperFastCgi.exe | grep $NAME.log | grep -v grep | awk '{print $2}')
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
[ -n "$PID" ] && do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 2
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
26
build/install/deb/debian/monoserveApiSystem.service
Normal file
26
build/install/deb/debian/monoserveApiSystem.service
Normal file
@ -0,0 +1,26 @@
|
||||
[Unit]
|
||||
Description=FastCGI Mono server
|
||||
After=network.target syslog.target nginx.service mysqld.service redis-server.service
|
||||
Wants=nginx.service mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre=/bin/bash -c 'test -e /var/run/onlyoffice || install -m 755 -o onlyoffice -g nginx -d /var/run/onlyoffice; rm -f /var/run/onlyoffice/onlyofficeApiSystem.socket'
|
||||
ExecStart=/usr/bin/hyperfastcgi4 /config=/etc/hyperfastcgi/onlyofficeApiSystem /logfile=/var/log/onlyoffice/onlyofficeApiSystem.log
|
||||
Environment=LD_LIBRARY_PATH=/usr/lib MONO_PATH=/var/www/onlyoffice/WebStudio/bin/ MONO_IOMAP=all MONO_ASPNET_WEBCONFIG_CACHESIZE=2000 MONO_THREADS_PER_CPU=2000 MONO_GC_PARAMS=nursery-size=128m,soft-heap-limit=512m,bridge-implementation=tarjan MONO_LOG_LEVEL=info MONO_THREADS_SUSPEND=preemptive
|
||||
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutStartSec=600
|
||||
TimeoutStopSec=5
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,10 +1,10 @@
|
||||
Files/nginx/{{package_sysname}} etc/nginx/sites-available/
|
||||
Files/nginx/includes/* etc/nginx/includes/
|
||||
Files/hyperfastcgi/* etc/hyperfastcgi/
|
||||
Files/god/* etc/god/
|
||||
Files/Services/* var/www/{{package_sysname}}/Services/
|
||||
Files/WebStudio/* var/www/{{package_sysname}}/WebStudio/
|
||||
Files/sql/* var/www/{{package_sysname}}/Sql/
|
||||
Files/god/* etc/god/
|
||||
Files/Tools/* var/www/{{package_sysname}}/Tools/
|
||||
Files/licenses/* usr/share/doc/{{package_sysname}}-communityserver/licenses/
|
||||
Files/ApiSystem/* var/www/{{package_sysname}}/ApiSystem/
|
||||
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeAutoreply
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Autoreply Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Mail.Autoreply.AutoreplyServiceController,ASC.Mail.Autoreply\" --log MailAutoreply"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeBackup
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Backup Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Data.Backup.Service.BackupServiceLauncher,ASC.Data.Backup\" --log Backup"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=Start ONLYOFFICE Backup Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeBackup'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeBackup /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service "ASC.Data.Backup.Service.BackupServiceLauncher,ASC.Data.Backup" --log Backup
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeFeed
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Feed Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Feed.Aggregator.FeedAggregatorLauncher,ASC.Feed.Aggregator\" --log Feed"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE Feed Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeFeed'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeFeed /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Feed.Aggregator.FeedAggregatorLauncher,ASC.Feed.Aggregator\" --log Feed
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,91 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeHealthCheck
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE HealthCheck Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.HealthCheck.Infrastructure.HealthCheckLauncher,ASC.HealthCheck\" --log HealthCheck"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
kill $PID
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeIndex
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Index Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.ElasticSearch.Launcher,ASC.ElasticSearch\" --log Index"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=Start ONLYOFFICE Index Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target elasticsearch.service mysqld.service redis-server.service
|
||||
Wants=elasticsearch.service mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeIndex'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeIndex /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service "ASC.ElasticSearch.Launcher,ASC.ElasticSearch" --log Index
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeJabber
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Jabber Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Xmpp.Host.XmppServerLauncher,ASC.Xmpp.Host\" --log Jabber"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,106 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeMailAggregator
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE MailAggregator Service
|
||||
### END INIT INFO
|
||||
|
||||
# Load the VERBOSE setting and other rcS variables
|
||||
. /lib/init/vars.sh
|
||||
|
||||
# Define LSB log_* functions.
|
||||
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
|
||||
# and status_of_proc is working.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/MailAggregator
|
||||
EXEC=ASC.Mail.Aggregator.CollectionService.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC"
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --pidfile $LOCKFILE
|
||||
[ "$?" = 2 ] && return 2
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
# killall -9 $NAME
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE MailAggregator Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeMailAggregator'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/MailAggregator -l:/tmp/onlyofficeMailAggregator /var/www/onlyoffice/Services/MailAggregator/ASC.Mail.Aggregator.CollectionService.exe
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/MailAggregator/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
|
||||
@ -16,7 +17,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,106 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeMailStorageCleaner
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE MailCleaner Service
|
||||
### END INIT INFO
|
||||
|
||||
# Load the VERBOSE setting and other rcS variables
|
||||
. /lib/init/vars.sh
|
||||
|
||||
# Define LSB log_* functions.
|
||||
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
|
||||
# and status_of_proc is working.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/MailCleaner
|
||||
EXEC=ASC.Mail.StorageCleaner.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC"
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --pidfile $LOCKFILE
|
||||
[ "$?" = 2 ] && return 2
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
# killall -9 $NAME
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE MailCleaner Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/MailCleaner'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/MailCleaner -l:/tmp/MailCleaner /var/www/onlyoffice/Services/MailCleaner/ASC.Mail.StorageCleaner.exe
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/MailCleaner/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
|
||||
@ -16,7 +17,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,106 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeMailWatchdog
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE MailWatchdog Service
|
||||
### END INIT INFO
|
||||
|
||||
# Load the VERBOSE setting and other rcS variables
|
||||
. /lib/init/vars.sh
|
||||
|
||||
# Define LSB log_* functions.
|
||||
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
|
||||
# and status_of_proc is working.
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/MailWatchdog
|
||||
EXEC=ASC.Mail.Watchdog.Service.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC"
|
||||
|
||||
# Exit if the package is not installed
|
||||
[ -x "$DAEMON" ] || exit 0
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --pidfile $LOCKFILE
|
||||
[ "$?" = 2 ] && return 2
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
# killall -9 $NAME
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE MailWatchdog Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeMailWatchdog'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/MailWatchdog -l:/tmp/onlyofficeMailWatchdog /var/www/onlyoffice/Services/MailWatchdog/ASC.Mail.Watchdog.Service.exe
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/MailWatchdog/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeNotify
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Notify Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Notify.NotifyServiceLauncher,ASC.Notify\" --log Notify"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE Notify Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeNotify'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeNotify /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service "ASC.Notify.NotifyServiceLauncher,ASC.Notify" --log Notify
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeRadicale
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Radicale Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Radicale.Launcher,ASC.Radicale\" --log Radicale"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE Radicale Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeRadicale'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeRadicale /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Radicale.Launcher,ASC.Radicale\" --log Radicale
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeSocketIO
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE SocketIO Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Socket.IO.Svc.Launcher,ASC.Socket.IO.Svc\" --log SocketIO"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE SocketIO Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeSocketIO'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeSocketIO /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Socket.IO.Svc.Launcher,ASC.Socket.IO.Svc\" --log SocketIO
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
23
build/install/deb/debian/onlyofficeStorageEncryption.service
Normal file
23
build/install/deb/debian/onlyofficeStorageEncryption.service
Normal file
@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=Start ONLYOFFICE StorageEncryption Service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeStorageEncryption'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeStorageEncryption /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service "ASC.Data.Storage.Encryption.Launcher,ASC.Data.Storage.Encryption" --log StorageEncryption
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutSec=600
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeStorageMigrate
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Storage Migrate Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Data.Storage.Migration.Launcher,ASC.Data.Storage.Migration\" --log StorageMigrate"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=Start ONLYOFFICE StorageMigrate Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target mysqld.service redis-server.service
|
||||
Wants=mysqld.service redis-server.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeStorageMigrate'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeStorageMigrate /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service "ASC.Data.Storage.Migration.Launcher,ASC.Data.Storage.Migration" --log StorageMigrate
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
23
build/install/deb/debian/onlyofficeTelegram.service
Normal file
23
build/install/deb/debian/onlyofficeTelegram.service
Normal file
@ -0,0 +1,23 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE Telegram Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
Wants=mysqld.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeTelegram'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeTelegram /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.TelegramService.Launcher,ASC.TelegramService\" --log Telegram
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutSec=600
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeThumb
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE Thumb Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.Thumbnails.Svc.Launcher,ASC.Thumbnails.Svc\" --log Thumb"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,21 +1,18 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE Thumb Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
After=network.target syslog.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeThumb'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeThumb /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Thumbnails.Svc.Launcher,ASC.Thumbnails.Svc\" --log Thumb
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutSec=600
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,115 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: onlyofficeUrlShortener
|
||||
# Required-Start: $local_fs $syslog $remote_fs mysql
|
||||
# Required-Stop: $local_fs $syslog $remote_fs
|
||||
# Default-Start: 2 3 4 5
|
||||
# Default-Stop: 0 1 6
|
||||
# Short-Description: Start ONLYOFFICE UrlShortener Service
|
||||
### END INIT INFO
|
||||
|
||||
. /lib/lsb/init-functions
|
||||
|
||||
NAME=$(basename $0)
|
||||
PROGRAM=mono-service
|
||||
DAEMON=$(which $PROGRAM)
|
||||
USER=onlyoffice
|
||||
GROUP=onlyoffice
|
||||
LOCKFILE=/tmp/$NAME
|
||||
PID=""
|
||||
|
||||
DIR=/var/www/onlyoffice/Services/TeamLabSvc
|
||||
EXEC=TeamLabSvc.exe
|
||||
ARGS="-d:$DIR -l:$LOCKFILE $DIR/$EXEC --service \"ASC.UrlShortener.Svc.Launcher,ASC.UrlShortener.Svc\" --log UrlShortener"
|
||||
|
||||
|
||||
do_start() {
|
||||
echo -n "Starting $NAME... "
|
||||
export MONO_IOMAP=all
|
||||
|
||||
start-stop-daemon -S -c $USER:$GROUP -x $DAEMON -- $ARGS
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
do_stop() {
|
||||
echo -n "Stopping $NAME... "
|
||||
|
||||
# Return
|
||||
# 0 if daemon has been stopped
|
||||
# 1 if daemon was already stopped
|
||||
# 2 if daemon could not be stopped
|
||||
# other if a failure occurred
|
||||
start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $LOCKFILE
|
||||
RETVAL="$?"
|
||||
[ "$RETVAL" = 2 ] && return 2
|
||||
|
||||
# Wait for children to finish too if this is a daemon that forks
|
||||
# and if the daemon is only ever run from this initscript.
|
||||
# If the above conditions are not satisfied then add some other code
|
||||
# that waits for the process to drop all resources that could be
|
||||
# needed by services started subsequently. A last resort is to
|
||||
# sleep for some time.
|
||||
get_pid
|
||||
|
||||
if [ -n "$PID" ]; then
|
||||
kill -9 $PID
|
||||
fi
|
||||
|
||||
# Many daemons don't delete their pidfiles when they exit.
|
||||
rm -f $LOCKFILE
|
||||
return "$RETVAL"
|
||||
echo "OK"
|
||||
}
|
||||
|
||||
get_pid() {
|
||||
PID=$(ps auxf | grep $PROGRAM.exe | grep $NAME | awk '{print $2}')
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
rm -f "$LOCKFILE"
|
||||
do_start
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
stop)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
rm -f "$LOCKFILE"
|
||||
else
|
||||
echo "$NAME is not running"
|
||||
fi
|
||||
;;
|
||||
|
||||
status)
|
||||
get_pid
|
||||
if [ -z "$PID" ]; then
|
||||
echo "$NAME is not running"
|
||||
else
|
||||
echo "$NAME is running (pid $PID)"
|
||||
fi
|
||||
;;
|
||||
|
||||
restart|force-reload)
|
||||
get_pid
|
||||
if [ -n "$PID" ]; then
|
||||
do_stop
|
||||
fi
|
||||
rm -f "$LOCKFILE"
|
||||
# sleep 5
|
||||
do_start
|
||||
;;
|
||||
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|force-reload}"
|
||||
;;
|
||||
esac
|
||||
|
||||
exit 0
|
@ -1,12 +1,13 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE UrlShortener Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
Wants=mysqld.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeUrlShortener'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeUrlShortener /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.UrlShortener.Svc.Launcher,ASC.UrlShortener.Svc\" --log UrlShortener
|
||||
Environment=MONO_IOMAP=all
|
||||
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
@ -15,7 +16,7 @@ TimeoutSec=600
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
# postinst script for {{package_sysname}}
|
||||
#
|
||||
# see: dh_installdeb(1)
|
||||
@ -22,6 +22,9 @@ set -e
|
||||
DIR="/var/www/{{package_sysname}}"
|
||||
LOG_DIR="/var/log/{{package_sysname}}"
|
||||
APP_DATA_DIR="${DIR}/Data"
|
||||
ELASTIC_SEARCH_VERSION=$(dpkg -l elasticsearch | tail -n1 | awk '{print $3}');
|
||||
APP_INDEX_DIR="${APP_DATA_DIR}/Index/v${ELASTIC_SEARCH_VERSION}"
|
||||
APP_SERVICES_DIR="$DIR/Services";
|
||||
OLD_VERSION="$2"
|
||||
NGINX_ROOT_DIR="/etc/nginx"
|
||||
|
||||
@ -30,6 +33,41 @@ DB_USER=""
|
||||
DB_PWD=""
|
||||
DB_NAME=""
|
||||
|
||||
apply_connection_string(){
|
||||
binDirs=("WebStudio" "ApiSystem" "Services/TeamLabSvc" "Services/MailAggregator" "Services/MailCleaner" "Services/MailWatchdog")
|
||||
|
||||
if [ "$DB_HOST" != "localhost" ] || [ "$DB_NAME" != "{{package_sysname}}" ] || [ "$DB_USER" != "root" ] || [ "$DB_PWD" != "" ]; then
|
||||
if [ -d /var/www/{{package_sysname}}/ ]; then
|
||||
for i in "${!binDirs[@]}";
|
||||
do
|
||||
find "/var/www/{{package_sysname}}/${binDirs[$i]}" -type f -name "*.[cC]onfig" -exec sed -i "s/connectionString=.*/connectionString=\"Server=$DB_HOST;Database=$DB_NAME;User ID=$DB_USER;Password=$DB_PWD;Pooling=true;Character Set=utf8;AutoEnlist=false\" providerName=\"MySql.Data.MySqlClient\"\/>/" {} \;
|
||||
done
|
||||
fi
|
||||
|
||||
sed "s!\"host\":.*,!\"host\":\"${DB_HOST}\",!" -i ${APP_SERVICES_DIR}/ASC.UrlShortener/config/config.json
|
||||
sed "s!\"user\":.*,!\"user\":\"${DB_USER}\",!" -i ${APP_SERVICES_DIR}/ASC.UrlShortener/config/config.json
|
||||
sed "s!\"password\":.*,!\"password\":\"${DB_PWD//!/\\!}\",!" -i ${APP_SERVICES_DIR}/ASC.UrlShortener/config/config.json
|
||||
sed "s!\"database\":.*!\"database\":\"${DB_NAME}\"!" -i ${APP_SERVICES_DIR}/ASC.UrlShortener/config/config.json
|
||||
|
||||
fi
|
||||
}
|
||||
|
||||
apply_core_machinekey(){
|
||||
binDirs=("WebStudio" "ApiSystem" "Services/TeamLabSvc" "Services/MailAggregator" "Services/MailCleaner" "Services/MailWatchdog")
|
||||
|
||||
if [ -d /var/www/{{package_sysname}}/ ]; then
|
||||
for i in "${!binDirs[@]}";
|
||||
do
|
||||
if [ ! -z $CORE_MACHINEKEY ]; then
|
||||
find "$DIR/${binDirs[$i]}" -type f -name "*.[cC]onfig" -exec sed -i '/core.\machinekey/s!\(value\s*=\s*\"\)[^\"]*\"!\1'${CORE_MACHINEKEY}'\"!' {} \;
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
if [ ! -z $CORE_MACHINEKEY ]; then
|
||||
sed "s!\"core\.machinekey\":.*!\"core\.machinekey\":\"${CORE_MACHINEKEY}\"!" -i ${APP_SERVICES_DIR}/ASC.UrlShortener/config/config.json
|
||||
fi
|
||||
}
|
||||
|
||||
install_db(){
|
||||
db_get {{package_sysname}}-communityserver/db-host || true
|
||||
@ -57,7 +95,6 @@ install_db(){
|
||||
CNF_SERVICE_PATH="/lib/systemd/system/mariadb.service";
|
||||
fi
|
||||
|
||||
|
||||
if [ -e ${CNF_PATH} ]; then
|
||||
if ! grep -q "^sql_mode" ${CNF_PATH}; then
|
||||
sed "/\[mysqld\]/a sql_mode = 'NO_ENGINE_SUBSTITUTION'" -i ${CNF_PATH} # disable new STRICT mode in mysql 5.7
|
||||
@ -152,75 +189,9 @@ install_db(){
|
||||
|
||||
}
|
||||
|
||||
apply_connection_string(){
|
||||
if [ "$DB_HOST" != "localhost" ] || [ "$DB_NAME" != "{{package_sysname}}" ] || [ "$DB_USER" != "root" ] || [ "$DB_PWD" != "" ]; then
|
||||
find "$DIR/" -type f -name "*.[cC]onfig" -exec sed -i "s/connectionString=.*/connectionString=\"Server=$DB_HOST;Database=$DB_NAME;User ID=$DB_USER;Password=$DB_PWD;Pooling=true;Character Set=utf8;AutoEnlist=false;SSL Mode=none;AllowPublicKeyRetrieval=true;Connection Timeout=30;Maximum Pool Size=300;\" providerName=\"MySql.Data.MySqlClient\"\/>/" {} \;
|
||||
fi
|
||||
}
|
||||
|
||||
upgrade_storage(){
|
||||
if [ -d $DIR/WebStudio/Products/Community/Modules/Blogs/data ]; then
|
||||
mkdir -p $DIR/Data/Products/Community/Modules/Blogs/Data
|
||||
cp -R -u $DIR/WebStudio/Products/Community/Modules/Blogs/data/. $DIR/Data/Products/Community/Modules/Blogs/Data
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/Products/Community/Modules/Forum/data ]; then
|
||||
mkdir -p $DIR/Data/Products/Community/Modules/Forum/Data
|
||||
cp -R -u $DIR/WebStudio/Products/Community/Modules/Forum/data/. $DIR/Data/Products/Community/Modules/Forum/Data
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/Products/Community/Modules/News/data ]; then
|
||||
mkdir -p $DIR/Data/Products/Community/Modules/News/Data
|
||||
cp -R -u $DIR/WebStudio/Products/Community/Modules/News/data/. $DIR/Data/Products/Community/Modules/News/Data
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/Products/Community/Modules/Bookmarking/data ]; then
|
||||
mkdir -p $DIR/Data/Products/Community/Modules/Bookmarking/Data
|
||||
cp -R -u $DIR/WebStudio/Products/Community/Modules/Bookmarking/data/. $DIR/Data/Products/Community/Modules/Bookmarking/Data
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/Products/Community/Modules/Wiki/data ]; then
|
||||
mkdir -p $DIR/Data/Products/Community/Modules/Wiki/Data
|
||||
cp -R -u $DIR/WebStudio/Products/Community/Modules/Wiki/data/. $DIR/Data/Products/Community/Modules/Wiki/Data
|
||||
fi
|
||||
if [ -d $DIR/Data/Files ]; then
|
||||
mkdir -p $DIR/Data/Products
|
||||
cp -R -u $DIR/Data/Files $DIR/Data/Products
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/Products/CRM/data ]; then
|
||||
mkdir -p $DIR/Data/Products/CRM/Data
|
||||
cp -R -u $DIR/WebStudio/Products/CRM/data/. $DIR/Data/Products/CRM/Data
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/Products/Projects/data ]; then
|
||||
mkdir -p $DIR/Data/Products/Projects/Data
|
||||
cp -R -u $DIR/WebStudio/Products/Projects/data/. $DIR/Data/Products/Projects/Data
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/data ]; then
|
||||
mkdir -p $DIR/Data/Studio
|
||||
cp -R -u $DIR/WebStudio/data/. $DIR/Data/Studio
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/addons/mail/data ]; then
|
||||
mkdir -p $DIR/Data/addons/mail/Data
|
||||
cp -R -u $DIR/WebStudio/addons/mail/data/. $DIR/Data/addons/mail/Data
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/addons/mail/Data ]; then
|
||||
mkdir -p $DIR/Data/addons/mail/Data
|
||||
cp -R -u $DIR/WebStudio/addons/mail/Data/. $DIR/Data/addons/mail/Data
|
||||
fi
|
||||
if [ -d $DIR/Data/Mail/Aggregator ]; then
|
||||
mkdir -p $DIR/Data/addons/mail/Data/aggregator
|
||||
cp -R -u $DIR/Data/Mail/Aggregator/. $DIR/Data/addons/mail/Data/aggregator
|
||||
fi
|
||||
if [ -d $DIR/WebStudio/addons/talk/Data/upload ]; then
|
||||
mkdir -p $DIR/Data/addons/talk/Data
|
||||
cp -R -u $DIR/WebStudio/addons/talk/Data/upload/. $DIR/Data/addons/talk/Data
|
||||
fi
|
||||
if [ -d $DIR/bundle ]; then
|
||||
mkdir -p $DIR/Data/bundle
|
||||
cp -rf $DIR/bundle/* $DIR/Data/bundle/
|
||||
fi
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
|
||||
|
||||
if ! cat /etc/passwd | grep -q "{{package_sysname}}:"; then
|
||||
adduser --quiet --home $DIR --system --group {{package_sysname}}
|
||||
fi
|
||||
@ -229,6 +200,7 @@ case "$1" in
|
||||
|
||||
install_db
|
||||
apply_connection_string
|
||||
apply_core_machinekey
|
||||
|
||||
mkdir -p /etc/mono/registry/LocalMachine
|
||||
mkdir -p /usr/share/.mono/keypairs
|
||||
@ -239,9 +211,7 @@ case "$1" in
|
||||
mkdir -p /var/run/{{package_sysname}}
|
||||
|
||||
# needed for signalr service
|
||||
mkdir -p -m 700 "$DIR/.config/.mono/keypairs"
|
||||
|
||||
upgrade_storage
|
||||
mkdir -p -m 700 "$DIR/.config/.mono/keypairs"
|
||||
|
||||
chown {{package_sysname}}:{{package_sysname}} $DIR
|
||||
chown {{package_sysname}}:{{package_sysname}} $APP_DATA_DIR
|
||||
@ -281,28 +251,27 @@ END
|
||||
python3 -m pip install --upgrade $DIR/Tools/radicale/plugins/app_auth_plugin/.
|
||||
python3 -m pip install --upgrade $DIR/Tools/radicale/plugins/app_store_plugin/.
|
||||
python3 -m pip install --upgrade $DIR/Tools/radicale/plugins/app_rights_plugin/.
|
||||
|
||||
|
||||
#configure elasticsearch
|
||||
service elasticsearch stop
|
||||
|
||||
if ! /usr/share/elasticsearch/bin/elasticsearch-plugin list | grep -q "ingest-attachment"; then
|
||||
/usr/share/elasticsearch/bin/elasticsearch-plugin install -s -b ingest-attachment
|
||||
if /usr/share/elasticsearch/bin/elasticsearch-plugin list | grep -q "ingest-attachment"; then
|
||||
/usr/share/elasticsearch/bin/elasticsearch-plugin remove ingest-attachment
|
||||
fi
|
||||
|
||||
/usr/share/elasticsearch/bin/elasticsearch-plugin install -s -b ingest-attachment
|
||||
|
||||
if [ ! -d "$APP_INDEX_DIR" ]; then
|
||||
$MYSQL "$DB_NAME" -e "TRUNCATE webstudio_index";
|
||||
fi
|
||||
|
||||
mkdir -p "$LOG_DIR/Index"
|
||||
mkdir -p "$APP_DATA_DIR/Index"
|
||||
chown -R elasticsearch:elasticsearch "$APP_DATA_DIR/Index"
|
||||
mkdir -p "$APP_INDEX_DIR"
|
||||
chown -R elasticsearch:elasticsearch "$APP_INDEX_DIR"
|
||||
chown -R elasticsearch:elasticsearch "$LOG_DIR/Index"
|
||||
|
||||
sed "/path\.data/s!path\.data.*!path\.data: ${APP_DATA_DIR}/Index/!" -i /etc/elasticsearch/elasticsearch.yml
|
||||
sed "/path\.data/s!path\.data.*!path\.data: $APP_INDEX_DIR!" -i /etc/elasticsearch/elasticsearch.yml
|
||||
sed "/path\.logs/s!path\.logs.*!path\.logs: ${LOG_DIR}/Index/!" -i /etc/elasticsearch/elasticsearch.yml
|
||||
|
||||
if ! grep -q "http.max_content_length" /etc/elasticsearch/elasticsearch.yml; then
|
||||
echo "http.max_content_length: 2g" >> /etc/elasticsearch/elasticsearch.yml
|
||||
else
|
||||
sed -i "s/http.max_content_length.*/http.max_content_length: 2g/" /etc/elasticsearch/elasticsearch.yml
|
||||
fi
|
||||
|
||||
if ! grep -q "indices.fielddata.cache.size" /etc/elasticsearch/elasticsearch.yml; then
|
||||
echo "indices.fielddata.cache.size: 30%" >> /etc/elasticsearch/elasticsearch.yml
|
||||
@ -316,44 +285,27 @@ END
|
||||
sed -i "s/indices.memory.index_buffer_size.*/indices.memory.index_buffer_size: 30%/" /etc/elasticsearch/elasticsearch.yml
|
||||
fi
|
||||
|
||||
if ! grep -q "thread_pool.index.queue_size" /etc/elasticsearch/elasticsearch.yml; then
|
||||
echo "thread_pool.index.queue_size: 250" >> /etc/elasticsearch/elasticsearch.yml
|
||||
else
|
||||
sed -i "s/thread_pool.index.queue_size.*/thread_pool.index.queue_size: 250/" /etc/elasticsearch/elasticsearch.yml
|
||||
fi
|
||||
|
||||
if ! grep -q "thread_pool.write.queue_size" /etc/elasticsearch/elasticsearch.yml; then
|
||||
echo "thread_pool.write.queue_size: 250" >> /etc/elasticsearch/elasticsearch.yml
|
||||
else
|
||||
sed -i "s/thread_pool.write.queue_size.*/thread_pool.write.queue_size: 250/" /etc/elasticsearch/elasticsearch.yml
|
||||
fi
|
||||
|
||||
export LC_ALL=C
|
||||
|
||||
CORE_COUNT=$(( $(lscpu | awk '/^Socket\(s\)/{ print $2 }') * $(lscpu | awk '/^Core\(s\) per socket/{ print $4 }') ));
|
||||
|
||||
unset LC_ALL
|
||||
|
||||
if [ "$CORE_COUNT" -eq "0" ]; then
|
||||
CORE_COUNT=1;
|
||||
fi
|
||||
|
||||
if ! grep -q "thread_pool.index.size" /etc/elasticsearch/elasticsearch.yml; then
|
||||
echo "thread_pool.index.size: $CORE_COUNT" >> /etc/elasticsearch/elasticsearch.yml
|
||||
else
|
||||
sed -i "s/thread_pool.index.size.*/thread_pool.index.size: $CORE_COUNT/" /etc/elasticsearch/elasticsearch.yml
|
||||
fi
|
||||
|
||||
if ! grep -q "thread_pool.write.size" /etc/elasticsearch/elasticsearch.yml; then
|
||||
echo "thread_pool.write.size: $CORE_COUNT" >> /etc/elasticsearch/elasticsearch.yml
|
||||
else
|
||||
sed -i "s/thread_pool.write.size.*/thread_pool.write.size: $CORE_COUNT/" /etc/elasticsearch/elasticsearch.yml
|
||||
fi
|
||||
|
||||
if grep -q "HeapDumpOnOutOfMemoryError" /etc/elasticsearch/jvm.options; then
|
||||
sed "/-XX:+HeapDumpOnOutOfMemoryError/d" -i /etc/elasticsearch/jvm.options
|
||||
fi
|
||||
|
||||
TOTAL_MEMORY=$(free -m | grep -oP '\d+' | head -n 1);
|
||||
MEMORY_REQUIREMENTS=12228; #RAM ~4*3Gb
|
||||
|
||||
if [ ${TOTAL_MEMORY} -gt ${MEMORY_REQUIREMENTS} ]; then
|
||||
if ! grep -q "[-]Xms1g" /etc/elasticsearch/jvm.options; then
|
||||
echo "-Xms4g" >> /etc/elasticsearch/jvm.options
|
||||
else
|
||||
sed -i "s/-Xms1g/-Xms4g/" /etc/elasticsearch/jvm.options
|
||||
fi
|
||||
|
||||
if ! grep -q "[-]Xmx1g" /etc/elasticsearch/jvm.options; then
|
||||
echo "-Xmx4g" >> /etc/elasticsearch/jvm.options
|
||||
else
|
||||
sed -i "s/-Xmx1g/-Xmx4g/" /etc/elasticsearch/jvm.options
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ -d /etc/elasticsearch/ ]; then
|
||||
chmod g+ws /etc/elasticsearch/
|
||||
fi
|
||||
@ -376,7 +328,6 @@ END
|
||||
LICENSE_FILE_PATH="/var/www/{{package_sysname}}/Data/license.lic";
|
||||
APP_ROOT_DIR="$DIR/WebStudio";
|
||||
CONTROL_PANEL_PORT_80_TCP_ADDR="localhost:8082";
|
||||
APP_SERVICES_DIR="$DIR/Services";
|
||||
SERVICE_SSO_AUTH_HOST_ADDR="localhost";
|
||||
SERVER_HOST="localhost";
|
||||
|
||||
@ -407,8 +358,24 @@ END
|
||||
sed '/files\.docservice\.url\.internal/s!\(value\s*=\s*\"\)[^\"]*\"!\1'${DOCUMENT_SERVER_PROTOCOL}':\/\/'${DOCUMENT_SERVER_HOST}'\"!' -i ${APP_SERVICES_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
sed '/files\.docservice\.url\.public/s!\(value\s*=\s*\"\)[^\"]*\"!\1'${DOCUMENT_SERVER_API_URL}'\"!' -i ${APP_SERVICES_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
sed '/files\.docservice\.url\.portal/s!\(value\s*=\s*\"\)[^\"]*\"!\1http:\/\/'${SERVER_HOST}'\"!' -i ${APP_SERVICES_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
|
||||
if dpkg -l "{{package_sysname}}-documentserver-ee"; then
|
||||
sed '/license\.file\.path/s!\(value\s*=\s*\"\)[^\"]*\"!\1'${LICENSE_FILE_PATH}'\"!' -i ${APP_ROOT_DIR}/web.appsettings.config
|
||||
sed '/license\.file\.path/s!\(value\s*=\s*\"\)[^\"]*\"!\1'${LICENSE_FILE_PATH}'\"!' -i ${APP_SERVICES_DIR}/TeamLabSvc/TeamLabSvc.exe.config
|
||||
|
||||
if [ ! -f ${LICENSE_FILE_PATH} ]; then
|
||||
|
||||
$MYSQL "$DB_NAME" <<EOF || true
|
||||
INSERT IGNORE INTO tenants_quota (tenant, name, max_file_size, max_total_size, active_users, features) \
|
||||
SELECT -1000, 'start_trial', max_file_size, max_total_size, active_users, CONCAT(features, ',trial')
|
||||
FROM tenants_quota
|
||||
WHERE tenant = -1;
|
||||
INSERT IGNORE INTO tenants_tariff (id, tenant, tariff, stamp) VALUES ('1000','-1', '-1000', NOW() + INTERVAL 30 DAY);
|
||||
EOF
|
||||
|
||||
fi
|
||||
|
||||
sed '/license\.file\.path/s!\(value\s*=\s*\"\)[^\"]*\"!\1'${LICENSE_FILE_PATH}'\"!' -i ${APP_ROOT_DIR}/web.appsettings.config
|
||||
fi
|
||||
|
||||
if [ "${DOCUMENT_SERVER_JWT_ENABLED}" = "true" ]; then
|
||||
sed '/files\.docservice\.secret/s!\(value\s*=\s*\"\)[^\"]*\"!\1'${DOCUMENT_SERVER_JWT_SECRET}'\"!' -i ${APP_ROOT_DIR}/web.appsettings.config
|
||||
@ -420,30 +387,30 @@ END
|
||||
|
||||
# setup controlpanel
|
||||
if dpkg -l | grep -q "{{package_sysname}}-controlpanel"; then
|
||||
cp ${NGINX_ROOT_DIR}/includes/{{package_sysname}}-communityserver-proxy-to-controlpanel.conf.template ${NGINX_ROOT_DIR}/includes/{{package_sysname}}-communityserver-proxy-to-controlpanel.conf;
|
||||
cp ${NGINX_ROOT_DIR}/includes/{{package_sysname}}-communityserver-proxy-to-controlpanel.conf.template ${NGINX_ROOT_DIR}/includes/{{package_sysname}}-communityserver-proxy-to-controlpanel.conf;
|
||||
sed 's,{{CONTROL_PANEL_HOST_ADDR}},'"${CONTROL_PANEL_PORT_80_TCP_ADDR}"',' -i ${NGINX_ROOT_DIR}/includes/{{package_sysname}}-communityserver-proxy-to-controlpanel.conf;
|
||||
sed 's,{{SERVICE_SSO_AUTH_HOST_ADDR}},'"${SERVICE_SSO_AUTH_HOST_ADDR}"',' -i ${NGINX_ROOT_DIR}/includes/{{package_sysname}}-communityserver-proxy-to-controlpanel.conf;
|
||||
sed '/web\.controlpanel\.url/s/\(value\s*=\s*\"\)[^\"]*\"/\1\/controlpanel\/\"/' -i ${APP_ROOT_DIR}/web.appsettings.config;
|
||||
sed '/web\.controlpanel\.url/s/\(value\s*=\s*\"\)[^\"]*\"/\1\/controlpanel\/\"/' -i ${APP_SERVICES_DIR}/TeamLabSvc/TeamLabSvc.exe.config;
|
||||
fi
|
||||
|
||||
# end
|
||||
|
||||
# delete monoserve2
|
||||
if [ -d $DIR/WebStudio2 ]; then
|
||||
service monoserve2 stop;
|
||||
rm -frd $DIR/WebStudio2;
|
||||
rm -f /etc/hyperfastcgi/monoserve2;
|
||||
rm -f /etc/init.d/monoserve2;
|
||||
rm -f /etc/god/conf.d/monoserve2;
|
||||
# setup xmppserver
|
||||
if dpkg -l | grep -q "{{package_sysname}}-xmppserver"; then
|
||||
sed '/web\.talk/s/value=\"\S*\"/value=\"true\"/g' -i ${APP_ROOT_DIR}/web.appsettings.config
|
||||
sed '/web\.chat/s/value=\"\S*\"/value=\"true\"/g' -i ${APP_ROOT_DIR}/web.appsettings.config
|
||||
fi
|
||||
|
||||
# end
|
||||
|
||||
# call db_stop to prevent installation hang
|
||||
db_stop
|
||||
|
||||
service nginx restart >/dev/null 2>&1
|
||||
service mysql restart >/dev/null 2>&1 || true # ignore errors
|
||||
|
||||
if systemctl is-active monoserve | grep -q "active"; then
|
||||
curl --silent --output /dev/null http://127.0.0.1/api/2.0/warmup/restart.json || true
|
||||
fi
|
||||
;;
|
||||
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
|
@ -24,11 +24,6 @@ fi
|
||||
|
||||
case "$1" in
|
||||
purge)
|
||||
# purge logs
|
||||
if [ -d /var/log/{{package_sysname}} ]; then
|
||||
rm -rf /var/log/{{package_sysname}}
|
||||
fi
|
||||
|
||||
db_input high {{package_sysname}}-communityserver/remove-db || true
|
||||
db_go
|
||||
db_get {{package_sysname}}-communityserver/remove-db
|
||||
|
@ -5,14 +5,33 @@
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
||||
dh $@ --with=systemd
|
||||
|
||||
override_dh_systemd_enable:
|
||||
dh_systemd_enable --name=monoserve
|
||||
dh_systemd_enable --name=monoserveApiSystem
|
||||
dh_systemd_enable --name={{package_sysname}}Feed
|
||||
dh_systemd_enable --name={{package_sysname}}SocketIO
|
||||
dh_systemd_enable --name={{package_sysname}}Telegram
|
||||
dh_systemd_enable --name={{package_sysname}}Thumb
|
||||
dh_systemd_enable --name={{package_sysname}}UrlShortener
|
||||
dh_systemd_enable --name={{package_sysname}}Radicale
|
||||
dh_systemd_enable --name={{package_sysname}}Index
|
||||
dh_systemd_enable --name={{package_sysname}}Notify
|
||||
dh_systemd_enable --name={{package_sysname}}Backup
|
||||
dh_systemd_enable --name={{package_sysname}}StorageMigrate
|
||||
dh_systemd_enable --name={{package_sysname}}StorageEncryption
|
||||
dh_systemd_enable --name={{package_sysname}}MailAggregator
|
||||
dh_systemd_enable --name={{package_sysname}}MailWatchdog
|
||||
dh_systemd_enable --name={{package_sysname}}MailCleaner
|
||||
dh_systemd_enable --name=god
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --name=monoserve
|
||||
dh_installinit --name=monoserveApiSystem
|
||||
dh_installinit --name={{package_sysname}}Feed
|
||||
dh_installinit --name={{package_sysname}}Jabber
|
||||
dh_installinit --name={{package_sysname}}SocketIO
|
||||
dh_installinit --name={{package_sysname}}Telegram
|
||||
dh_installinit --name={{package_sysname}}Thumb
|
||||
dh_installinit --name={{package_sysname}}UrlShortener
|
||||
dh_installinit --name={{package_sysname}}Radicale
|
||||
@ -20,7 +39,27 @@ override_dh_installinit:
|
||||
dh_installinit --name={{package_sysname}}Notify
|
||||
dh_installinit --name={{package_sysname}}Backup
|
||||
dh_installinit --name={{package_sysname}}StorageMigrate
|
||||
dh_installinit --name={{package_sysname}}StorageEncryption
|
||||
dh_installinit --name={{package_sysname}}MailAggregator
|
||||
dh_installinit --name={{package_sysname}}MailWatchdog
|
||||
dh_installinit --name={{package_sysname}}MailCleaner
|
||||
dh_installinit --name={{package_sysname}}MailCleaner
|
||||
dh_installinit --name=god
|
||||
|
||||
override_dh_systemd_start:
|
||||
dh_systemd_start --name=monoserve
|
||||
dh_systemd_start --name=monoserveApiSystem
|
||||
dh_systemd_start --name={{package_sysname}}Feed
|
||||
dh_systemd_start --name={{package_sysname}}SocketIO
|
||||
dh_systemd_start --name={{package_sysname}}Telegram
|
||||
dh_systemd_start --name={{package_sysname}}Thumb
|
||||
dh_systemd_start --name={{package_sysname}}UrlShortener
|
||||
dh_systemd_start --name={{package_sysname}}Radicale
|
||||
dh_systemd_start --name={{package_sysname}}Index
|
||||
dh_systemd_start --name={{package_sysname}}Notify
|
||||
dh_systemd_start --name={{package_sysname}}Backup
|
||||
dh_systemd_start --name={{package_sysname}}StorageMigrate
|
||||
dh_systemd_start --name={{package_sysname}}StorageEncryption
|
||||
dh_systemd_start --name={{package_sysname}}MailAggregator
|
||||
dh_systemd_start --name={{package_sysname}}MailWatchdog
|
||||
dh_systemd_start --name={{package_sysname}}MailCleaner
|
||||
dh_systemd_start --name=god
|
40
build/install/rpm/Files/god/conf.d/mail.god
Normal file
40
build/install/rpm/Files/god/conf.d/mail.god
Normal file
@ -0,0 +1,40 @@
|
||||
God.watch do |w|
|
||||
w.name = "onlyofficeMailAggregator"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "systemctl start onlyofficeMailAggregator"
|
||||
w.stop = "systemctl stop onlyofficeMailAggregator"
|
||||
w.restart = "systemctl restart onlyofficeMailAggregator"
|
||||
w.pid_file = "/tmp/onlyofficeMailAggregator"
|
||||
|
||||
w.behavior(:clean_pid_file)
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
end
|
||||
end
|
||||
|
||||
w.restart_if do |restart|
|
||||
restart.condition(:memory_usage) do |c|
|
||||
c.above = 1000.megabytes
|
||||
c.times = 5
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
restart.condition(:cpu_usage) do |c|
|
||||
c.above = 90.percent
|
||||
c.times = 5
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
restart.condition(:lambda) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.lambda = lambda{!File.exist?("/var/log/onlyoffice/mail.agg.log")}
|
||||
end
|
||||
restart.condition(:file_mtime) do |c|
|
||||
c.path = "/var/log/onlyoffice/mail.agg.log"
|
||||
c.max_age = 1.minutes
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
end
|
||||
end
|
65
build/install/rpm/Files/god/conf.d/monoserve.god
Normal file
65
build/install/rpm/Files/god/conf.d/monoserve.god
Normal file
@ -0,0 +1,65 @@
|
||||
module God
|
||||
module Conditions
|
||||
class SocketConnectedWithinTimeout < SocketResponding
|
||||
def test
|
||||
socket = nil
|
||||
self.info = []
|
||||
begin
|
||||
Timeout.timeout(5) do
|
||||
socket = UNIXSocket.new(self.path)
|
||||
end
|
||||
rescue Timeout::Error
|
||||
self.info = 'Socket connection timeout'
|
||||
return true
|
||||
rescue Exception => ex
|
||||
self.info = "Failed connected to socket with exception: #{ex}"
|
||||
socket.close if socket.is_a?(UNIXSocket)
|
||||
return true
|
||||
end
|
||||
socket.close
|
||||
self.info = 'Unix socket is responding'
|
||||
return false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
God.watch do |w|
|
||||
w.name = "monoserve"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "systemctl restart monoserve"
|
||||
w.stop = "systemctl stop monoserve"
|
||||
w.restart = "systemctl restart monoserve"
|
||||
w.unix_socket = "/var/run/onlyoffice/onlyoffice.socket"
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:socket_connected_within_timeout) do |c|
|
||||
c.family = 'unix'
|
||||
c.path = '/var/run/onlyoffice/onlyoffice.socket'
|
||||
c.times = 5
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
end
|
||||
|
||||
w.restart_if do |restart|
|
||||
restart.condition(:socket_connected_within_timeout) do |c|
|
||||
c.family = 'unix'
|
||||
c.path = '/var/run/onlyoffice/onlyoffice.socket'
|
||||
c.times = 5
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
restart.condition(:http_response_code) do |c|
|
||||
c.host = '127.0.0.1'
|
||||
c.path = '/api/2.0/capabilities.json'
|
||||
c.code_is_not = 200
|
||||
c.times = 5
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
restart.condition(:cpu_usage) do |c|
|
||||
c.above = 90.percent
|
||||
c.times = 5
|
||||
c.interval = 3.minutes
|
||||
end
|
||||
end
|
||||
end
|
58
build/install/rpm/Files/god/conf.d/monoserveApiSystem.god
Normal file
58
build/install/rpm/Files/god/conf.d/monoserveApiSystem.god
Normal file
@ -0,0 +1,58 @@
|
||||
module God
|
||||
module Conditions
|
||||
class SocketConnectedWithinTimeout < SocketResponding
|
||||
def test
|
||||
socket = nil
|
||||
self.info = []
|
||||
begin
|
||||
Timeout.timeout(5) do
|
||||
socket = UNIXSocket.new(self.path)
|
||||
end
|
||||
rescue Timeout::Error
|
||||
self.info = 'Socket connection timeout'
|
||||
return true
|
||||
rescue Exception => ex
|
||||
self.info = "Failed connected to socket with exception: #{ex}"
|
||||
socket.close if socket.is_a?(UNIXSocket)
|
||||
return true
|
||||
end
|
||||
socket.close
|
||||
self.info = 'Unix socket is responding'
|
||||
return false
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
God.watch do |w|
|
||||
w.name = "monoserveApiSystem"
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "systemctl restart monoserveApiSystem"
|
||||
w.stop = "systemctl stop monoserveApiSystem"
|
||||
w.restart = "systemctl restart monoserveApiSystem"
|
||||
w.unix_socket = "/var/run/onlyoffice/onlyofficeApiSystem.socket"
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:socket_connected_within_timeout) do |c|
|
||||
c.family = 'unix'
|
||||
c.path = '/var/run/onlyoffice/onlyoffice.socket'
|
||||
c.times = 5
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
end
|
||||
|
||||
w.restart_if do |restart|
|
||||
restart.condition(:socket_connected_within_timeout) do |c|
|
||||
c.family = 'unix'
|
||||
c.path = '/var/run/onlyoffice/onlyofficeApiSystem.socket'
|
||||
c.times = 5
|
||||
c.interval = 5.seconds
|
||||
end
|
||||
restart.condition(:cpu_usage) do |c|
|
||||
c.above = 90.percent
|
||||
c.times = 5
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
end
|
||||
end
|
31
build/install/rpm/Files/god/conf.d/onlyoffice.god
Normal file
31
build/install/rpm/Files/god/conf.d/onlyoffice.god
Normal file
@ -0,0 +1,31 @@
|
||||
%w{onlyofficeFeed onlyofficeThumb onlyofficeSocketIO onlyofficeIndex onlyofficeStorageMigrate onlyofficeStorageEncryption onlyofficeTelegram onlyofficeNotify onlyofficeBackup onlyofficeMailCleaner onlyofficeMailWatchdog onlyofficeRadicale onlyofficeUrlShortener}.each do |serviceName|
|
||||
God.watch do |w|
|
||||
w.name = serviceName
|
||||
w.group = "onlyoffice"
|
||||
w.grace = 15.seconds
|
||||
w.start = "systemctl start #{serviceName}"
|
||||
w.stop = "systemctl stop #{serviceName}"
|
||||
w.restart = "systemctl restart #{serviceName}"
|
||||
w.pid_file = "/tmp/#{serviceName}"
|
||||
|
||||
w.start_if do |start|
|
||||
start.condition(:process_running) do |c|
|
||||
c.interval = 10.seconds
|
||||
c.running = false
|
||||
end
|
||||
end
|
||||
|
||||
w.restart_if do |restart|
|
||||
restart.condition(:memory_usage) do |c|
|
||||
c.above = 700.megabytes
|
||||
c.times = 5
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
restart.condition(:cpu_usage) do |c|
|
||||
c.above = 90.percent
|
||||
c.times = 5
|
||||
c.interval = 10.seconds
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
1
build/install/rpm/Files/god/god.conf
Normal file
1
build/install/rpm/Files/god/god.conf
Normal file
@ -0,0 +1 @@
|
||||
God.load '/etc/god/conf.d/*.god'
|
@ -5,7 +5,7 @@
|
||||
</server>
|
||||
<listener type="HyperFastCgi.Listeners.NativeListener">
|
||||
<apphost-transport type="HyperFastCgi.Transports.NativeTransport">
|
||||
<multithreading>Task</multithreading>
|
||||
<multithreading>ThreadPool</multithreading>
|
||||
</apphost-transport>
|
||||
<protocol>Unix</protocol>
|
||||
<address>//666@/var/run/onlyoffice/onlyoffice.socket</address>
|
||||
|
@ -5,7 +5,7 @@
|
||||
</server>
|
||||
<listener type="HyperFastCgi.Listeners.NativeListener">
|
||||
<apphost-transport type="HyperFastCgi.Transports.NativeTransport">
|
||||
<multithreading>Task</multithreading>
|
||||
<multithreading>ThreadPool</multithreading>
|
||||
</apphost-transport>
|
||||
<protocol>Unix</protocol>
|
||||
<address>//666@/var/run/onlyoffice/onlyofficeApiSystem.socket</address>
|
||||
|
@ -1,24 +0,0 @@
|
||||
[Unit]
|
||||
Description=FastCGI Mono server
|
||||
After=network.target syslog.target mysqld.service
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre=/bin/bash -c 'test -e /var/run/onlyoffice || install -m 755 -o onlyoffice -g {{NGINX_USER}} -d /var/run/onlyoffice; rm -f /var/run/onlyoffice/onlyoffice.socket'
|
||||
ExecStart=/usr/bin/hyperfastcgi4 /config=/etc/hyperfastcgi/onlyoffice /logfile=/var/log/onlyoffice/onlyoffice.log /loglevels=All
|
||||
Environment=LD_LIBRARY_PATH=/usr/lib MONO_IOMAP=all MONO_ASPNET_WEBCONFIG_CACHESIZE=2000 MONO_THREADS_PER_CPU=2000 MONO_GC_PARAMS=nursery-size=64m MONO_LOG_LEVEL=info MONO_THREADS_SUSPEND=preemptive
|
||||
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutStartSec=600
|
||||
TimeoutStopSec=5
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,25 +0,0 @@
|
||||
[Unit]
|
||||
Description=FastCGI Mono server
|
||||
After=network.target syslog.target mysqld.service
|
||||
|
||||
[Service]
|
||||
PermissionsStartOnly=true
|
||||
ExecStartPre=/bin/bash -c 'test -e /var/run/onlyoffice || install -m 755 -o onlyoffice -g {{NGINX_USER}} -d /var/run/onlyoffice; rm -f /var/run/onlyoffice/onlyofficeApiSystem.socket'
|
||||
ExecStart=/usr/bin/hyperfastcgi4 /config=/etc/hyperfastcgi/onlyofficeApiSystem /logfile=/var/log/onlyoffice/onlyofficeApiSystem.log
|
||||
Environment=LD_LIBRARY_PATH=/usr/lib MONO_IOMAP=all MONO_THREADS_SUSPEND=preemptive
|
||||
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutStartSec=600
|
||||
TimeoutStopSec=5
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,22 +0,0 @@
|
||||
[Unit]
|
||||
Description=Start ONLYOFFICE Autoreply Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeMailAutoreply'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeMailAutoreply /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Mail.Autoreply.AutoreplyServiceController,ASC.Mail.Autoreply\" --log MailAutoreply
|
||||
Environment=MONO_IOMAP=all
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutSec=600
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=no
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -1,23 +0,0 @@
|
||||
[Unit]
|
||||
Description=ONLYOFFICE Jabber Service
|
||||
After=network.target syslog.target mysqld.service
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeJabber'
|
||||
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeJabber /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Xmpp.Host.XmppServerLauncher,ASC.Xmpp.Host\" --log Jabber
|
||||
Environment=MONO_IOMAP=all
|
||||
User=onlyoffice
|
||||
Group=onlyoffice
|
||||
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutSec=600
|
||||
|
||||
# Auto-Restart every 24 hours
|
||||
WatchdogSec=24h
|
||||
|
||||
Restart=always
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -35,94 +35,85 @@ map $http_x_forwarded_host $the_host {
|
||||
"" $this_host;
|
||||
}
|
||||
|
||||
## Normal HTTP host
|
||||
map $request_uri $header_access_control_allow_origin {
|
||||
~*^/(api\/2.0|products\/crm\/httphandlers\/webtoleadfromhandler.ashx|products\/files\/httphandlers\/filehandler.ashx|products\/files\/chunkeduploader.ashx|thirdparty\/plugin) "*";
|
||||
default "";
|
||||
}
|
||||
|
||||
map $request_uri $header_x_frame_options {
|
||||
~*^/(favicon\.ico|products\/files\/share\.aspx|products\/files\/saveas\.aspx|products\/files\/filechoice\.aspx|products\/files\/doceditor\.aspx|thirdparty\/plugin) "";
|
||||
default "SAMEORIGIN";
|
||||
}
|
||||
|
||||
server {
|
||||
listen 0.0.0.0:80 default_server;
|
||||
listen [::]:80;
|
||||
server_name _;
|
||||
server_tokens off;
|
||||
|
||||
root /nowhere; ## root doesn't have to be a valid path since we are redirecting
|
||||
root /nowhere; ## root doesn't have to be a valid path since we are redirecting
|
||||
|
||||
location / {
|
||||
if ($ip_external) {
|
||||
## Redirects all traffic to the HTTPS host
|
||||
rewrite ^ https://$host$request_uri? permanent;
|
||||
}
|
||||
location / {
|
||||
if ($ip_external) {
|
||||
## Redirects all traffic to the HTTPS host
|
||||
rewrite ^ https://$host$request_uri? permanent;
|
||||
}
|
||||
|
||||
client_max_body_size 100m;
|
||||
|
||||
client_max_body_size 100m;
|
||||
|
||||
proxy_pass https://127.0.0.1;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_ssl_verify off;
|
||||
}
|
||||
proxy_pass https://127.0.0.1;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header X-Forwarded-Host $server_name;
|
||||
proxy_set_header X-Forwarded-Proto $scheme;
|
||||
proxy_ssl_verify off;
|
||||
}
|
||||
}
|
||||
|
||||
## HTTPS host
|
||||
server {
|
||||
listen 0.0.0.0:443 ssl default_server;
|
||||
listen [::]:443 ssl;
|
||||
listen 0.0.0.0:443 ssl http2;
|
||||
listen [::]:443 ssl http2 default_server;
|
||||
server_tokens off;
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
## Increase this if you want to upload large attachments
|
||||
client_max_body_size 100m;
|
||||
|
||||
## Strong SSL Security
|
||||
## https://cipherli.st/
|
||||
ssl_certificate {{SSL_CERTIFICATE_PATH}};
|
||||
ssl_certificate_key {{SSL_KEY_PATH}};
|
||||
ssl_verify_client {{SSL_VERIFY_CLIENT}};
|
||||
ssl_client_certificate {{CA_CERTIFICATES_PATH}};
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
||||
ssl_session_tickets off;
|
||||
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
ssl_prefer_server_ciphers on;
|
||||
ssl_ciphers "EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH";
|
||||
ssl_ecdh_curve secp384r1; # Requires nginx >= 1.1.0
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
ssl_session_tickets off; # Requires nginx >= 1.5.9
|
||||
ssl_protocols TLSv1.2;
|
||||
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
|
||||
ssl_prefer_server_ciphers off;
|
||||
|
||||
add_header Strict-Transport-Security "max-age={{APP_HTTPS_HSTS_MAXAGE}}; includeSubDomains; preload" always;
|
||||
# add_header X-Frame-Options DENY;
|
||||
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
|
||||
add_header X-Frame-Options $header_x_frame_options;
|
||||
add_header X-Content-Type-Options nosniff;
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Access-Control-Allow-Origin $header_access_control_allow_origin;
|
||||
|
||||
## [Optional] If your certficate has OCSP, enable OCSP stapling to reduce the overhead and latency of running SSL.
|
||||
## Replace with your ssl_trusted_certificate. For more info see:
|
||||
## - https://medium.com/devops-programming/4445f4862461
|
||||
## - https://www.ruby-forum.com/topic/4419319
|
||||
## - https://www.digitalocean.com/community/tutorials/how-to-configure-ocsp-stapling-on-apache-and-nginx
|
||||
ssl_stapling on;
|
||||
ssl_stapling_verify on;
|
||||
ssl_trusted_certificate {{SSL_OCSP_CERTIFICATE_PATH}};
|
||||
resolver 8.8.8.8 8.8.4.4 127.0.0.11 valid=300s; # Can change to your DNS resolver if desired
|
||||
resolver_timeout 10s;
|
||||
|
||||
## [Optional] Generate a stronger DHE parameter:
|
||||
## cd /etc/ssl/certs
|
||||
## sudo openssl dhparam -out dhparam.pem 4096
|
||||
##
|
||||
ssl_dhparam {{SSL_DHPARAM_PATH}};
|
||||
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
|
||||
|
||||
include /etc/nginx/includes/onlyoffice-communityserver-*.conf;
|
||||
}
|
||||
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
|
||||
include /etc/nginx/includes/onlyoffice-communityserver-*.conf;
|
||||
}
|
@ -10,9 +10,13 @@ location / {
|
||||
fastcgi_pass fastcgi_backend;
|
||||
fastcgi_keep_conn on;
|
||||
|
||||
error_page 401 /401.htm;
|
||||
error_page 402 /402.htm;
|
||||
error_page 403 /403.htm;
|
||||
error_page 404 /404.htm;
|
||||
error_page 500 /500.htm;
|
||||
|
||||
gzip off;
|
||||
gzip on;
|
||||
gzip_comp_level 2;
|
||||
gzip_min_length 1000;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
@ -30,14 +34,15 @@ location / {
|
||||
fastcgi_read_timeout 600;
|
||||
fastcgi_send_timeout 600;
|
||||
|
||||
rewrite /products/files/(.*) /Products/Files/$1 permanent;
|
||||
rewrite /products/files/doceditor.aspx(.*) /Products/Files/DocEditor.aspx$1 permanent;
|
||||
|
||||
location ~* ^/(warmup[2-9]?)/ {
|
||||
rewrite /warmup([^/]*)/(.*) /$2 break;
|
||||
fastcgi_pass unix:/var/run/onlyoffice/onlyoffice$1.socket;
|
||||
}
|
||||
|
||||
|
||||
location ~* (^\/(?:skins|products|addons).*\.(?:jpg|jpeg|gif|png|svg|ico)$)|(.*bundle/(?!clientscript).*) {
|
||||
location ~* (^\/(?:skins|products|addons).*\.(?:jpg|jpeg|gif|png|svg|ico|woff2)$)|(.*bundle/(?!clientscript).*) {
|
||||
fastcgi_pass fastcgi_backend;
|
||||
|
||||
fastcgi_temp_path /var/cache/nginx/tmp 1 2;
|
||||
@ -51,8 +56,24 @@ location / {
|
||||
access_log off;
|
||||
log_not_found off;
|
||||
expires max;
|
||||
}
|
||||
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
|
||||
gzip_vary on;
|
||||
gzip_proxied expired no-cache no-store private auth;
|
||||
#compression level
|
||||
gzip_comp_level 6;
|
||||
gzip_min_length 1000;
|
||||
gzip_buffers 16 8k;
|
||||
gzip_http_version 1.1;
|
||||
# files to gzip
|
||||
gzip_types image/svg+xml;
|
||||
}
|
||||
|
||||
location ~* (.*bundle/(?!clientscript).*)|(^\/socketio\/*) {
|
||||
gzip off;
|
||||
}
|
||||
}
|
||||
|
||||
location /apisystem {
|
||||
@ -61,7 +82,6 @@ location /apisystem {
|
||||
root /var/www/onlyoffice/ApiSystem/;
|
||||
index index.html index.htm default.aspx Default.aspx;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header X-Frame-Options DENY;
|
||||
|
||||
client_max_body_size 4G;
|
||||
@ -87,10 +107,4 @@ location /apisystem {
|
||||
|
||||
fastcgi_read_timeout 600;
|
||||
fastcgi_send_timeout 600;
|
||||
}
|
||||
|
||||
location /filesData {
|
||||
rewrite /filesData/var/www/onlyoffice/Data/Products/Files(.*) /$1 break;
|
||||
root /var/www/onlyoffice/Data/Products/Files;
|
||||
internal;
|
||||
}
|
||||
}
|
@ -29,18 +29,29 @@ map $http_x_forwarded_host $the_host {
|
||||
"" $this_host;
|
||||
}
|
||||
|
||||
map $request_uri $header_access_control_allow_origin {
|
||||
~*^/(api\/2.0|products\/crm\/httphandlers\/webtoleadfromhandler.ashx|products\/files\/httphandlers\/filehandler.ashx|products\/files\/chunkeduploader.ashx|thirdparty\/plugin) "*";
|
||||
default "";
|
||||
}
|
||||
|
||||
map $request_uri $header_x_frame_options {
|
||||
~*^/(favicon\.ico|products\/files\/share\.aspx|products\/files\/saveas\.aspx|products\/files\/filechoice\.aspx|products\/files\/doceditor\.aspx|thirdparty\/plugin) "";
|
||||
default "SAMEORIGIN";
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
|
||||
add_header Access-Control-Allow-Origin $header_access_control_allow_origin;
|
||||
add_header X-Frame-Options $header_x_frame_options;
|
||||
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
set $X_REWRITER_URL $the_scheme://$the_host;
|
||||
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
if ($http_x_rewriter_url != '') {
|
||||
set $X_REWRITER_URL $http_x_rewriter_url ;
|
||||
}
|
||||
|
||||
include /etc/nginx/includes/onlyoffice-communityserver-*.conf;
|
||||
}
|
||||
}
|
@ -28,11 +28,23 @@ map $http_x_forwarded_host $the_host {
|
||||
default $http_x_forwarded_host;
|
||||
"" $this_host;
|
||||
}
|
||||
|
||||
map $request_uri $header_access_control_allow_origin {
|
||||
~*^/(api\/2.0|products\/crm\/httphandlers\/webtoleadfromhandler.ashx|products\/files\/httphandlers\/filehandler.ashx|products\/files\/chunkeduploader.ashx|thirdparty\/plugin) "*";
|
||||
default "";
|
||||
}
|
||||
|
||||
map $request_uri $header_x_frame_options {
|
||||
~*^/(favicon\.ico|products\/files\/share\.aspx|products\/files\/saveas\.aspx|products\/files\/filechoice\.aspx|products\/files\/doceditor\.aspx|thirdparty\/plugin) "";
|
||||
default "SAMEORIGIN";
|
||||
}
|
||||
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Access-Control-Allow-Origin $header_access_control_allow_origin;
|
||||
add_header X-Frame-Options $header_x_frame_options;
|
||||
|
||||
large_client_header_buffers 4 16k;
|
||||
|
||||
|
16
build/install/rpm/Files/systemd/god.service
Normal file
16
build/install/rpm/Files/systemd/god.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=God Service
|
||||
After=network.target syslog.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStartPre=/bin/bash -c 'rm -f /var/run/god.pid'
|
||||
ExecStart=/usr/bin/god -c /etc/god/god.conf -P /var/run/god.pid -l /var/log/god.log
|
||||
# Give up if ping don't get an answer
|
||||
TimeoutSec=600
|
||||
|
||||
Restart=always
|
||||
PrivateTmp=false
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user