Create a file at
/lib/systemd/system/suite.service
with the following contents:<username>
should be your Suite username.<password>
should be your Suite password.<linux-user>
should be the Linux username under which you want to run Suite.<linux-group>
should be the corresponding Linux group.Memory usage, this will vary depending on your environment:
For environments with lots of memory, you can allow Suite to use the default memory configuration
do not set
<memory_cache_max>
set
<memory_high>
to 1/4 of the available RAM, plus 5GB
For environments with limited memory or running other apps which consume lots of memory, you should reduce Suite's memory usage
set
<memory_cache_max>
, the minimum value is 1GBset
<memory_high>
to<memory_cache_max>
plus 5GB
<memory_high>
must be formatted correctly, for example:6 Gigabytes:
6G
10 Gigabytes:
10G
[Unit]
Description=Suite service
After=network.target
[Service]
Environment="SUITE_USERNAME=<username>"
Environment="SUITE_PASSWORD=<password>"
User=<linux-user>
Group=<linux-group>
WorkingDirectory=/home/<linux-user>
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/suite start
ExecStop=/usr/bin/suite stop --wait
MemoryHigh=<memory_high>
[Install]
WantedBy=multi-user.targetsudo systemctl daemon-reload
sudo systemctl start suite.service
If you are in a low-memory environment and want to configure the memory as described above:
Ensure the service is running
suite config set -k MAX_MEMORY_CACHE_SIZE_GIGABYTES -v <memory_cache_max>
sudo systemctl restart suite.service
If you want to mount multiple drives automatically:
Ensure the service is running
suite drive list
to gather your drive IDs.Replace the
ExecStart
line with:ExecStart=/usr/bin/suite start -d <drive-id> -d <drive-id>
sudo systemctl restart suite.service
You can use the Suite CLI to interact with the running service.
β
β οΈ Currently, Suite must run as a Type=oneshot
service. If Suite is stopped while your computer is still running, it will not be started until the next reboot.