Skip to content

Commit f86c9f6

Browse files
authored
Merge pull request nextcloud#6338 from nextcloud/enh/6334/restart-netcat
nextcloud: restart netcat once a day to ensure that it stays reachable
2 parents a06a474 + 6bf219d commit f86c9f6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Containers/nextcloud/supervisord.conf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,7 @@ stdout_logfile=/dev/stdout
3939
stdout_logfile_maxbytes=0
4040
stderr_logfile=/dev/stderr
4141
stderr_logfile_maxbytes=0
42-
command=nc -lk 9001
42+
# Restart the netcat command once a day to ensure that it stays reachable
43+
# See https://github.com/nextcloud/all-in-one/issues/6334
44+
command=timeout 86400 nc -lk 9001
4345
user=www-data

0 commit comments

Comments
 (0)