mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 00:05:44 +02:00
Update to 2023-07-25 10:00
This commit is contained in:
@@ -190,9 +190,9 @@
|
||||
line: "{{ item.option }}={{ item.value }}"
|
||||
with_items:
|
||||
- option: unifi.xmx
|
||||
value: 4096
|
||||
value: "{{ unifi_mem_limit }}"
|
||||
- option: unifi.xms
|
||||
value: 4096
|
||||
value: "{{ (unifi_mem_limit * 0.5) | int }}"
|
||||
- option: unifi.G1GC.enabled
|
||||
value: 'true'
|
||||
- option: autobackup.dir
|
||||
|
@@ -1,5 +1,5 @@
|
||||
unifi.xmx={{ unifi_mem_limit }}
|
||||
unifi.xms={{ unifi_mem_limit }}
|
||||
unifi.xms={{ unifi_mem_limit * 0.5 | int }}
|
||||
unifi.G1GC.enabled=true
|
||||
autobackup.dir={{ unifi_root_dir }}/backup
|
||||
unifi.http.port={{ unifi_http_port }}
|
||||
|
@@ -6,7 +6,7 @@ After=syslog.target network.target
|
||||
Type=simple
|
||||
User=unifi
|
||||
WorkingDirectory={{ unifi_root_dir }}/app
|
||||
ExecStart=/usr/bin/java -Djava.awt.headless=true -Xmx{{ unifi_mem_limit }}M -Xms{{ unifi_mem_limit }}M -Djava.net.preferIPv4Stack=true {% if system_proxy is defined and system_proxy != '' %}-Dhttp.proxyHost={{ system_proxy | urlsplit('hostname') }} -Dhttp.proxyPort={{ system_proxy | urlsplit('port') }} -Dhttps.proxyHost={{ system_proxy | urlsplit('hostname') }} -Dhttps.proxyPort={{ system_proxy | urlsplit('port') }} {% endif %}-jar {{ unifi_root_dir }}/app/lib/ace.jar start
|
||||
ExecStart=/usr/bin/java -Djava.awt.headless=true -Xmx{{ unifi_mem_limit }}M -Xms{{ (unifi_mem_limit * 0.5) | int }}M -Djava.net.preferIPv4Stack=true {% if system_proxy is defined and system_proxy != '' %}-Dhttp.proxyHost={{ system_proxy | urlsplit('hostname') }} -Dhttp.proxyPort={{ system_proxy | urlsplit('port') }} -Dhttps.proxyHost={{ system_proxy | urlsplit('hostname') }} -Dhttps.proxyPort={{ system_proxy | urlsplit('port') }} {% endif %}-jar {{ unifi_root_dir }}/app/lib/ace.jar start
|
||||
ExecStop=/usr/bin/java -jar {{ unifi_root_dir }}/app/lib/ace.jar stop
|
||||
SuccessExitStatus=143
|
||||
PrivateTmp=yes
|
||||
|
Reference in New Issue
Block a user