Skip to content

Commit ad790e8

Browse files
committed
Update to v12.5.2
1 parent b364013 commit ad790e8

File tree

4,616 files changed

+89721
-52247
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,616 files changed

+89721
-52247
lines changed
778 KB
Binary file not shown.

3rd-Party.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ AjaxPro.2 - .NET Library that provides AJAX related methods to simplify the comm
88
License: MIT License
99
License File: AjaxPro.2.license
1010

11+
Amazon.Extensions.S3.Encryption - The Amazon S3 Encryption Client for .NET simplifies encrypting and decrypting objects to S3 using KMS or custom keys. (https://github.com/aws/amazon-s3-encryption-client-dotnet/blob/main/LICENSE)
12+
License: Apache License 2.0
13+
License File: Amazon.Extensions.S3.Encryption.license
14+
1115
AntiXSS - AntiXSS is an encoding library which uses a safe list approach to encoding. It provides Html, XML, Url, Form, LDAP, CSS, JScript and VBScript encoding methods to allow you to avoid Cross Site Scripting attacks. This library is part of the Microsoft SDL tools. (http://wpl.codeplex.com/license)
1216
License: MS-PL License
1317
License File: AntiXSS.license
@@ -76,7 +80,7 @@ CommandLineParser - The Command Line Parser Library offers to CLR applications a
7680
License: MIT License
7781
License File: CommandLineParser.license
7882

79-
CsvHelper - A library for reading and writing CSV files. Extremely fast, flexible, and easy to use. Supports reading and writing of custom class objects. (https://licenses.nuget.org/MS-PL, или https://licenses.nuget.org/Apache-2.0)
83+
CsvHelper - A library for reading and writing CSV files. Extremely fast, flexible, and easy to use. Supports reading and writing of custom class objects. (https://licenses.nuget.org/MS-PL, or https://licenses.nuget.org/Apache-2.0)
8084
License: MS-PL or Apache License 2.0
8185
License File: CsvHelper.license
8286

@@ -448,6 +452,10 @@ Pipelines.Sockets.Unofficial - Package Description (https://raw.githubuserconten
448452
License: MIT License
449453
License File: Pipelines.Sockets.Unofficial.license
450454

455+
Polly - Polly is a library that allows developers to express resilience and transient fault handling policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. (https://github.com/App-vNext/Polly/blob/main/LICENSE.txt)
456+
License: BSD-3-Clause "New" License
457+
License File: Polly.license
458+
451459
Portable.BouncyCastle - BouncyCastle portable version with support for .NET 4, .NET Standard 2.0 (https://www.bouncycastle.org/csharp/licence.html)
452460
License: MIT X11 License 
453461
License File: Portable.BouncyCastle.license

CHANGELOG.md

Lines changed: 509 additions & 389 deletions
Large diffs are not rendered by default.

build/ManageServices.bat

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,39 +17,34 @@ if "%~1" == "--install-all" (
1717
sc create OnlyofficeNotify%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Notify.NotifyServiceLauncher, ASC.Notify\" --log Notify"
1818
sc create OnlyofficeJabber%version% start= delayed-auto binPath= "\"%grandparent%\Jabber\ASC.Xmpp.Server.Launcher.exe\""
1919
sc create OnlyofficeIndex%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.ElasticSearch.Launcher, ASC.ElasticSearch\" --log Index"
20-
sc create OnlyofficeRadicale%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Radicale.Launcher, ASC.Radicale\" --log Radicale"
2120
sc create OnlyOfficeStorageMigrate%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Storage.Migration.Launcher,ASC.Data.Storage.Migration\" --log StorageMigrate"
2221
sc create OnlyOfficeStorageEncryption%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Storage.Encryption.Launcher,ASC.Data.Storage.Encryption\" --log StorageEncryption"
2322
sc create OnlyofficeFeed%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Feed.Aggregator.FeedAggregatorLauncher, ASC.Feed.Aggregator\" --log Feed"
2423
sc create OnlyOfficeAutoCleanUp%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Files.AutoCleanUp.Launcher, ASC.Files.AutoCleanUp\" --log AutoCleanUp"
2524
sc create OnlyofficeBackup%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Data.Backup.Service.BackupServiceLauncher, ASC.Data.Backup\" --log Backup"
26-
sc create OnlyOfficeSocketIO%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Socket.IO.Svc.Launcher, ASC.Socket.IO.Svc\" --log SocketIO"
2725
sc create OnlyOfficeTelegram%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.TelegramService.Launcher, ASC.TelegramService\" --log Telegram"
2826
sc create OnlyofficeThumbnailBuilder%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Files.ThumbnailBuilder.Launcher, ASC.Files.ThumbnailBuilder\" --log ThumbnailBuilder"
29-
sc create OnlyOfficeThumb%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.Thumbnails.Svc.Launcher,ASC.Thumbnails.Svc\" --log Thumb"
30-
sc create OnlyOfficeSsoAuth%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.SsoAuth.Svc.Launcher,ASC.SsoAuth.Svc\" --log SsoAuth"
31-
sc create OnlyOfficeUrlShortener%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.UrlShortener.Svc.Launcher,ASC.UrlShortener.Svc\" --log UrlShortener"
32-
sc create OnlyOfficeWebDav%version% start= delayed-auto binPath= "\"%basepath%\TeamLabSvc.exe\" --service \"ASC.WebDav.Svc.Launcher,ASC.WebDav.Svc\" --log WebDav"
3327
sc create OnlyOfficeMailAggregator%version% start= delayed-auto binPath= "\"%grandparent%\MailAggregator\ASC.Mail.Aggregator.CollectionService.exe\""
3428
sc create OnlyOfficeMailWatchdog%version% start= delayed-auto binPath= "\"%grandparent%\MailWatchdog\ASC.Mail.Watchdog.Service.exe\""
3529
sc create OnlyOfficeMailCleaner%version% start= delayed-auto binPath= "\"%grandparent%\MailCleaner\ASC.Mail.StorageCleaner.exe\""
3630

31+
call %basepath%\WinSW3.0.0.exe install %grandparent%\run\Radicale.xml
32+
call %basepath%\WinSW3.0.0.exe install %grandparent%\run\SsoAuth.xml
33+
call %basepath%\WinSW3.0.0.exe install %grandparent%\run\SocketIO.xml
34+
call %basepath%\WinSW3.0.0.exe install %grandparent%\run\WebDav.xml
35+
call %basepath%\WinSW3.0.0.exe install %grandparent%\run\UrlShortener.xml
36+
call %basepath%\WinSW3.0.0.exe install %grandparent%\run\Thumb.xml
37+
3738
sc failure OnlyofficeNotify%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
3839
sc failure OnlyofficeJabber%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
3940
sc failure OnlyofficeIndex%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
40-
sc failure OnlyofficeRadicale%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
4141
sc failure OnlyOfficeStorageMigrate%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
4242
sc failure OnlyOfficeStorageEncryption%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
4343
sc failure OnlyofficeAutoCleanUp%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
4444
sc failure OnlyofficeFeed%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
4545
sc failure OnlyofficeBackup%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
46-
sc failure OnlyOfficeSocketIO%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
4746
sc failure OnlyOfficeTelegram%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
4847
sc failure OnlyofficeThumbnailBuilder%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
49-
sc failure OnlyOfficeThumb%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
50-
sc failure OnlyOfficeSsoAuth%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
51-
sc failure OnlyOfficeUrlShortener%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
52-
sc failure OnlyOfficeWebDav%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
5348
sc failure OnlyOfficeMailAggregator%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
5449
sc failure OnlyOfficeMailWatchdog%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
5550
sc failure OnlyOfficeMailCleaner%version% reset= 60 actions= restart/60000/restart/60000/restart/60000
@@ -69,8 +64,6 @@ if "%~1" == "--uninstall-all" (
6964
sc delete OnlyofficeJabber%version%
7065
net stop OnlyofficeIndex%version%
7166
sc delete OnlyofficeIndex%version%
72-
net stop OnlyofficeRadicale%version%
73-
sc delete OnlyofficeRadicale%version%
7467
net stop OnlyOfficeStorageMigrate%version%
7568
sc delete OnlyOfficeStorageMigrate%version%
7669
net stop OnlyOfficeStorageEncryption%version%
@@ -81,18 +74,8 @@ if "%~1" == "--uninstall-all" (
8174
sc delete OnlyofficeFeed%version%
8275
net stop OnlyofficeBackup%version%
8376
sc delete OnlyofficeBackup%version%
84-
net stop OnlyOfficeSocketIO%version%
85-
sc delete OnlyOfficeSocketIO%version%
8677
net stop OnlyOfficeTelegram%version%
87-
sc delete OnlyOfficeTelegram%version%
88-
net stop OnlyOfficeThumb%version%
89-
sc delete OnlyOfficeThumb%version%
90-
net stop OnlyOfficeSsoAuth%version%
91-
sc delete OnlyOfficeSsoAuth%version%
92-
net stop OnlyOfficeUrlShortener%version%
93-
sc delete OnlyOfficeUrlShortener%version%
94-
net stop OnlyOfficeWebDav%version%
95-
sc delete OnlyOfficeWebDav%version%
78+
sc delete OnlyOfficeTelegram%version%
9679
net stop OnlyofficeThumbnailBuilder%version%
9780
sc delete OnlyofficeThumbnailBuilder%version%
9881
net stop OnlyOfficeMailAggregator%version%
@@ -102,6 +85,19 @@ if "%~1" == "--uninstall-all" (
10285
net stop OnlyOfficeMailCleaner%version%
10386
sc delete OnlyOfficeMailCleaner%version%
10487

88+
call %basepath%\WinSW3.0.0.exe stop %grandparent%\run\Radicale.xml
89+
call %basepath%\WinSW3.0.0.exe uninstall %grandparent%\run\Radicale.xml
90+
call %basepath%\WinSW3.0.0.exe stop %grandparent%\run\SsoAuth.xml
91+
call %basepath%\WinSW3.0.0.exe uninstall %grandparent%\run\SsoAuth.xml
92+
call %basepath%\WinSW3.0.0.exe stop %grandparent%\run\SocketIO.xml
93+
call %basepath%\WinSW3.0.0.exe uninstall %grandparent%\run\SocketIO.xml
94+
call %basepath%\WinSW3.0.0.exe stop %grandparent%\run\WebDav.xml
95+
call %basepath%\WinSW3.0.0.exe uninstall %grandparent%\run\WebDav.xml
96+
call %basepath%\WinSW3.0.0.exe stop %grandparent%\run\UrlShortener.xml
97+
call %basepath%\WinSW3.0.0.exe uninstall %grandparent%\run\UrlShortener.xml
98+
call %basepath%\WinSW3.0.0.exe stop %grandparent%\run\Thumb.xml
99+
call %basepath%\WinSW3.0.0.exe uninstall %grandparent%\run\Thumb.xml
100+
105101
goto Exit
106102
)
107103

build/config/TeamLabSvc.exe.config

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
<section name="backup" type="ASC.Data.Backup.Service.BackupConfigurationSection, ASC.Data.Backup" />
1010
<section name="feed" type="ASC.Feed.Aggregator.Config.FeedConfigurationSection, ASC.Feed.Aggregator" />
1111
<section name="healthCheck" type="ASC.HealthCheck.Settings.HealthCheckCfgSectionHandler, ASC.HealthCheck" />
12-
<section name="socketio" type="ASC.Socket.IO.Svc.SocketIOCfgSectionHandler, ASC.Socket.IO.Svc" />
13-
<section name="thumb" type="ASC.Thumbnails.Svc.ConfigHandler, ASC.Thumbnails.Svc" />
14-
<section name="ssoauth" type="ASC.SsoAuth.Svc.ConfigHandler, ASC.SsoAuth.Svc" />
15-
<section name="urlshortener" type="ASC.UrlShortener.Svc.ConfigHandler, ASC.UrlShortener.Svc" />
16-
<section name="webdav" type="ASC.WebDav.Svc.ConfigHandler, ASC.WebDav.Svc" />
17-
<section name="radicale" type="ASC.Radicale.RadicaleCfgSectionHandler, ASC.Radicale" />
1812
<section name="apiClient" type="ASC.Api.Client.ApiClientConfiguration, ASC.Api.Client" />
1913
<section name="autofac" type="ASC.Common.DependencyInjection.AutofacConfigurationSection, ASC.Common" />
2014
<section name="consumers" type="ASC.Core.Common.Configuration.ConsumerConfigurationSection, ASC.Core.Common" />
@@ -30,7 +24,7 @@
3024
</dependentAssembly>
3125
<dependentAssembly>
3226
<assemblyIdentity name="BouncyCastle.Crypto" culture="neutral" publicKeyToken="0e99375e54769942" />
33-
<bindingRedirect oldVersion="0.0.0.0-1.8.10.0" newVersion="1.8.10.0" />
27+
<bindingRedirect oldVersion="0.0.0.0-1.9.0.0" newVersion="1.9.0.0" />
3428
</dependentAssembly>
3529
<dependentAssembly>
3630
<assemblyIdentity name="Google.Apis" culture="neutral" publicKeyToken="4b01fa6e34db77ab" />
@@ -132,6 +126,7 @@
132126
<add key="core.base-domain" value="localhost" />
133127
<add key="core.machinekey" value="Vskoproizvolny Salt par Chivreski" />
134128
<add key="core.payment-region" value="test" />
129+
<add key="core.self-signed-cert-path" value="" />
135130
<add key="files.docservice.secret" value="" />
136131
<add key="files.docservice.secret.header" value="" />
137132
<add key="files.docservice.timeout" value="50000" />
@@ -146,6 +141,7 @@
146141
<add key="web.controlpanel.url" value="" />
147142
<add key="ping.url" value="http://localhost" />
148143
<add key="ping.interval" value="10000" />
144+
<add key="files.uploader.chunk-size" value="20971520" />
149145
<add key="license.file.path" value="" />
150146
<add key="resources.from-db" value="true" />
151147
<add key="mail.certificate-permit" value="true" />
@@ -156,17 +152,11 @@
156152
</connectionStrings>
157153
<teamlab>
158154
<services>
159-
<add type="ASC.Socket.IO.Svc.Launcher, ASC.Socket.IO.Svc" />
160-
<add type="ASC.Radicale.Launcher, ASC.Radicale" />
161155
<add type="ASC.Notify.NotifyServiceLauncher, ASC.Notify" />
162156
<add type="ASC.Feed.Aggregator.FeedAggregatorLauncher, ASC.Feed.Aggregator" />
163157
<add type="ASC.Data.Backup.Service.BackupServiceLauncher, ASC.Data.Backup" />
164158
<add type="ASC.Data.Storage.Migration.Launcher, ASC.Data.Storage.Migration" />
165159
<add type="ASC.ElasticSearch.Launcher, ASC.ElasticSearch" />
166-
<add type="ASC.Thumbnails.Svc.Launcher, ASC.Thumbnails.Svc" />
167-
<add type="ASC.SsoAuth.Svc.Launcher, ASC.SsoAuth.Svc" />
168-
<add type="ASC.UrlShortener.Svc.Launcher, ASC.UrlShortener.Svc" />
169-
<add type="ASC.WebDav.Svc.Launcher, ASC.WebDav.Svc" />
170160
<add type="ASC.TelegramService.Launcher, ASC.TelegramService" />
171161
<add type="ASC.Data.Storage.Encryption.Launcher, ASC.Data.Storage.Encryption" />
172162
<add type="ASC.Files.ThumbnailBuilder.Launcher, ASC.Files.ThumbnailBuilder" />
@@ -196,15 +186,6 @@
196186
</backup>
197187
<feed aggregatePeriod="0:3:0" />
198188
<autoCleanUp period="0:5:0" />
199-
<socketio path="..\ASC.Socket.IO" port="9899">
200-
<redis host="" port="" />
201-
</socketio>
202-
<urlshortener path="..\ASC.UrlShortener" port="9999" />
203-
<webdav path="..\ASC.WebDav" port="9889" />
204-
<thumb path="..\ASC.Thumbnails" port="9800" />
205-
<ssoauth path="..\ASC.SsoAuth" port="9834" />
206-
<radicale path="">
207-
</radicale>
208189
<thumbnailBuilder connectionStringName="default" serverRoot="http://localhost/" attemptsLimit="10" />
209190
<system.serviceModel>
210191
<services>

build/install/deb/Files/Tools/letsencrypt.sh

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ set -e
44

55
LETSENCRYPT_ROOT_DIR="/etc/letsencrypt";
66
ROOT_DIR="/var/www/onlyoffice/Data/certs";
7+
CERTIFICATE_NAME="communityserver"
78

89
_domains="";
910

@@ -15,18 +16,18 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
1516

1617
mkdir -p ${ROOT_DIR}
1718

18-
certbot certonly --expand --webroot -w ${ROOT_DIR} --noninteractive --agree-tos --email support@$1 $_domains;
19+
certbot certonly --expand --webroot -w ${ROOT_DIR} --cert-name ${CERTIFICATE_NAME} --noninteractive --agree-tos --email support@$1 $_domains;
1920

20-
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
21-
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/privkey.pem ${ROOT_DIR}/onlyoffice.key
22-
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/chain.pem ${ROOT_DIR}/stapling.trusted.crt
21+
cp -f ${LETSENCRYPT_ROOT_DIR}/live/${CERTIFICATE_NAME}/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
22+
cp -f ${LETSENCRYPT_ROOT_DIR}/live/${CERTIFICATE_NAME}/privkey.pem ${ROOT_DIR}/onlyoffice.key
23+
cp -f ${LETSENCRYPT_ROOT_DIR}/live/${CERTIFICATE_NAME}/chain.pem ${ROOT_DIR}/stapling.trusted.crt
2324

2425
cat > ${LETSENCRYPT_ROOT_DIR}/renewal-hooks/deploy/communityserver.sh <<END
2526
#!/bin/bash
2627
27-
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
28-
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/privkey.pem ${ROOT_DIR}/onlyoffice.key
29-
cp -f ${LETSENCRYPT_ROOT_DIR}/live/$1/chain.pem ${ROOT_DIR}/stapling.trusted.crt
28+
cp -f ${LETSENCRYPT_ROOT_DIR}/live/${CERTIFICATE_NAME}/fullchain.pem ${ROOT_DIR}/onlyoffice.crt
29+
cp -f ${LETSENCRYPT_ROOT_DIR}/live/${CERTIFICATE_NAME}/privkey.pem ${ROOT_DIR}/onlyoffice.key
30+
cp -f ${LETSENCRYPT_ROOT_DIR}/live/${CERTIFICATE_NAME}/chain.pem ${ROOT_DIR}/stapling.trusted.crt
3031
3132
service nginx reload
3233
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
[Unit]
2-
Description=ONLYOFFICE AutoCleanUp Service
2+
Description=ONLYOFFICE FilesTrashCleaner Service
33
After=network.target syslog.target mysql.service
44
Wants=mysql.service
55

66
[Service]
77
Type=forking
88
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeAutoCleanUp'
9-
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeAutoCleanUp /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Files.AutoCleanUp.Launcher,ASC.Files.AutoCleanUp\" --log AutoCleanUp
9+
ExecStart=/usr/bin/mono-service -d:/var/www/onlyoffice/Services/TeamLabSvc -l:/tmp/onlyofficeAutoCleanUp /var/www/onlyoffice/Services/TeamLabSvc/TeamLabSvc.exe --service \"ASC.Files.AutoCleanUp.Launcher,ASC.Files.AutoCleanUp\" --log FilesTrashCleaner
1010
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
1111
User=onlyoffice
1212
Group=onlyoffice
@@ -17,4 +17,4 @@ Restart=always
1717
PrivateTmp=false
1818

1919
[Install]
20-
WantedBy=multi-user.target
20+
WantedBy=multi-user.target

build/install/deb/debian/onlyofficeMailImap.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Type=notify
88
User=onlyoffice
99
Group=onlyoffice
1010
WorkingDirectory=/var/www/onlyoffice/Services/MailImap/
11-
ExecStart=/usr/bin/dotnet /var/www/onlyoffice/Services/MailImap/ASC.Mail.ImapSync.dll --urls=http://0.0.0.0:5026 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-imapsync --ENVIRONMENT=production
11+
ExecStart=/usr/bin/dotnet /var/www/onlyoffice/Services/MailImap/ASC.Mail.ImapSync.Service.dll --urls=http://0.0.0.0:5026 --pathToConf=/etc/onlyoffice/communityserver --pathToNlogConf=/etc/onlyoffice/communityserver --log:dir=/var/log/onlyoffice/mail --log:name=mail-imapsync --ENVIRONMENT=production
1212
Environment=OPENSSL_CONF=/etc/onlyoffice/communityserver/openssl.cnf
1313
TimeoutSec=600
1414

build/install/deb/debian/onlyofficeRadicale.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ After=network.target syslog.target mysql.service redis-server.service
44
Wants=mysql.service redis-server.service
55

66
[Service]
7-
Type=forking
7+
Type=simple
8+
WorkingDirectory=/var/www/onlyoffice/Services/TeamLabSvc
89
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeRadicale'
9-
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
10-
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
10+
ExecStart=/usr/bin/python3 -m radicale --config /var/www/onlyoffice/Services/TeamLabSvc/radicale.config
1111
User=onlyoffice
1212
Group=onlyoffice
1313
# Give up if ping don't get an answer

build/install/deb/debian/onlyofficeSocketIO.service

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ After=network.target syslog.target mysql.service redis-server.service
44
Wants=mysql.service redis-server.service
55

66
[Service]
7-
Type=forking
7+
Type=simple
8+
WorkingDirectory=/var/www/onlyoffice/Services/ASC.Socket.IO/
89
ExecStartPre=/bin/bash -c 'rm -f /tmp/onlyofficeSocketIO'
9-
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
10-
Environment=MONO_IOMAP=all MONO_PATH=/var/www/onlyoffice/Services/TeamLabSvc/
10+
ExecStart=/usr/bin/node /var/www/onlyoffice/Services/ASC.Socket.IO/app.js UNIX.SERVER
1111
User=onlyoffice
1212
Group=onlyoffice
1313
# Give up if ping don't get an answer

0 commit comments

Comments
 (0)