Merge apphealthtask into box server
We used to run this as a separate process but no amount of node/v8 tweaking makes them run as standalone with 50M RSS. Three solutions were considered for the memory issue: 1. Use systemd timer. apphealthtask needs to run quiet frequently (10 sec) for the ui to get the app health update immediately after install. 2. Merge into box server (this commit) 3. Increase memory to 80M. This seems to make apphealthtask run as-is.
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
Description=Cloudron Smart Cloud
|
||||
Documentation=https://cloudron.io/documentation.html
|
||||
StopWhenUnneeded=true
|
||||
Requires=apphealthtask.service box.service janitor.timer oauthproxy.service
|
||||
After=apphealthtask.service box.service janitor.timer oauthproxy.service
|
||||
Requires=box.service janitor.timer oauthproxy.service
|
||||
After=box.service janitor.timer oauthproxy.service
|
||||
# AllowIsolate=yes
|
||||
|
||||
[Install]
|
||||
|
||||
Reference in New Issue
Block a user