mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
Merge pull request #6338 from nextcloud/enh/6334/restart-netcat
nextcloud: restart netcat once a day to ensure that it stays reachable
This commit is contained in:
commit
f86c9f66d6
1 changed files with 3 additions and 1 deletions
|
|
@ -39,5 +39,7 @@ stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
command=nc -lk 9001
|
# Restart the netcat command once a day to ensure that it stays reachable
|
||||||
|
# See https://github.com/nextcloud/all-in-one/issues/6334
|
||||||
|
command=timeout 86400 nc -lk 9001
|
||||||
user=www-data
|
user=www-data
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue