Commit graph

32 commits

Author SHA1 Message Date
Gerrit Gogel 2a176d2d12 seafile-server: improved lifecycle management and scheduled gc
Exits container if seafile-server or socat exits. Exits the container after scheduled garbage collection. These changes allow a clean restart with deterministic behaviour. It is recommended to set the restart policy for the container to "unless-stopped".
2024-02-14 11:05:59 +01:00
Gerrit Gogel fb9e2a4a7e use protocol for SERVICE_URL in bootstrapping 2023-11-05 19:51:59 +01:00
Gerrit Gogel ff7b840b9f separate SEAFILE_SERVER_HOSTNAME and SEAFILE_URL
SEAFILE_SERVER_HOSTNAME is for the internal hostname
SEAFILE_URL is for the external URL
2023-11-05 14:07:51 +01:00
Gerrit Gogel ff1c91c6d1
Check if cron entry for garbage collection already exists 2023-06-19 02:57:13 +02:00
Gerrit Gogel d085480ec6
gc.sh start socat in background 2023-04-17 13:03:54 +02:00
Gerrit Gogel 1df962ad1e fix duplicate logging 2023-02-26 12:34:49 +01:00
Gerrit Gogel e9d8f384ae use sigkill in cron gc 2023-02-26 12:23:53 +01:00
Gerrit Gogel 541acbdd09 fix shared folders linking 2021-11-11 19:55:19 +03:00
Gerrit Gogel 924bcf553e remove call to missing function 2021-04-15 22:16:31 +02:00
Gerrit Gogel b7ef93b362 move correction of gunicorn bind setting from seafile-server to seahub 2021-02-04 00:11:54 +01:00
Gerrit Gogel 33ba46315a add logger function 2021-02-01 18:16:43 +01:00
Gerrit Gogel f9eca5c59a add cron job creation 2021-02-01 18:14:46 +01:00
Gerrit Gogel f2726d0c3e remove set -e and exit 2021-02-01 16:34:57 +01:00
Gerrit Gogel 6daa847df8 decrease socat diagnostic output 2021-02-01 15:04:00 +01:00
Gerrit Gogel 6c6f5ccbe1 change pkill pattern 2021-02-01 14:17:45 +01:00
Gerrit Gogel e9771dcb83 stop / start socat in gc.sh 2021-02-01 14:17:29 +01:00
Gerrit Gogel 8b658bd755 move functions to utils.sh 2021-02-01 13:20:19 +01:00
Gerrit Gogel e22a08bb7a use pkill for socat shutdown 2021-02-01 13:06:59 +01:00
Gerrit Gogel 12d47893fe change gc.log path and link it to stdout 2021-02-01 12:57:57 +01:00
Gerrit Gogel f14e2393a3 refactor gc.sh 2021-02-01 12:57:36 +01:00
Gerrit Gogel abf5bf52e5 remove first admin init from seafile-server 2021-01-28 00:40:14 +01:00
Gerrit Gogel 7ba4720d31 echo waiting for socket only once 2021-01-28 00:40:00 +01:00
Gerrit Gogel 3d90648998 fix output of kill socat, increase waiting time for sigterm 2021-01-27 16:28:51 +01:00
Gerrit Gogel 9b55172cc7 refactor start.sh and add graceful shutdown 2021-01-26 22:42:14 +01:00
Gerrit Gogel f0a6e92214 remove socat verbose output 2021-01-25 15:31:12 +01:00
Gerrit Gogel 06742af855 configure tcp keepalive on seahub side with intervall of 10s 2021-01-25 15:10:54 +01:00
Gerrit Gogel 01a9e9d05b remove keepalive on seahub side, add seafile-server tcp keepalive 2021-01-25 13:40:37 +01:00
Gerrit Gogel 2792af6311 seafile-server: remove log links, remove old log folders on startup 2021-01-24 16:02:17 +01:00
Gerrit Gogel dba73bc89f dial down socat verbose output 2021-01-24 16:01:09 +01:00
Gerrit Gogel 5831e05d5a seafile-server: optimize socat keepalive 2021-01-23 23:04:17 +01:00
Gerrit Gogel a6ee5afb22 seafile-server: optimize socat connection 2021-01-23 21:00:06 +01:00
Gerrit Gogel c779b7fbfe rename seafile-server folder 2021-01-23 13:36:44 +01:00