mirror of
https://github.com/AsamK/signal-cli
synced 2025-08-29 10:30:38 +00:00
Set initial java heap size to 2MB in service files
Make it more usable in memory restricted environments
This commit is contained in:
parent
11e5dfbcf5
commit
5f4325283a
2 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=dbus
|
Type=dbus
|
||||||
|
Environment=TEXTSECURE_CLI_OPTS="-Xms2m"
|
||||||
ExecStart=%dir%/bin/textsecure-cli -u %I --config /var/lib/textsecure-cli daemon --system
|
ExecStart=%dir%/bin/textsecure-cli -u %I --config /var/lib/textsecure-cli daemon --system
|
||||||
User=textsecure-cli
|
User=textsecure-cli
|
||||||
BusName=org.asamk.TextSecure
|
BusName=org.asamk.TextSecure
|
||||||
|
|
|
@ -3,6 +3,7 @@ Description=Send secure messages to TextSecure/Signal clients
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=dbus
|
Type=dbus
|
||||||
|
Environment=TEXTSECURE_CLI_OPTS="-Xms2m"
|
||||||
ExecStart=%dir%/bin/textsecure-cli -u %number% --config /var/lib/textsecure-cli daemon --system
|
ExecStart=%dir%/bin/textsecure-cli -u %number% --config /var/lib/textsecure-cli daemon --system
|
||||||
User=textsecure-cli
|
User=textsecure-cli
|
||||||
BusName=org.asamk.TextSecure
|
BusName=org.asamk.TextSecure
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue