If you’re like me and have a small / but a much larger /home, you can move the Lemonade cache to /home and bind-mount it back to /var/lib/lemonade/.cache via /etc/fstab to keep your root partition from filling up.
Search Criteria
Package Details: lemonade-server 10.6.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/lemonade-server.git (read-only, click to copy) |
|---|---|
| Package Base: | lemonade-server |
| Description: | Lemonade: Local LLM Serving with GPU and NPU acceleration (Server) |
| Upstream URL: | https://github.com/lemonade-sdk/lemonade/ |
| Licenses: | Apache-2.0 |
| Provides: | lemonade-server |
| Submitter: | luciddream |
| Maintainer: | luciddream (bitgamma) |
| Last Packager: | luciddream |
| Votes: | 11 |
| Popularity: | 4.29 |
| First Submitted: | 2025-11-15 12:59 (UTC) |
| Last Updated: | 2026-05-21 20:48 (UTC) |
Dependencies (12)
- libwebsockets
- unzip (unzip-zstdAUR, unzip_pAUR, unzip-natspecAUR)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cli11 (cli11-compiledAUR) (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR, git-wd40AUR) (make)
- libdrm (libdrm-gitAUR) (make)
- ninja (ninja-gitAUR, ninja-memAUR, ninja-noemacs-gitAUR, ninja-kitwareAUR, ninja-fuchsia-gitAUR, n2-ninja-symlinkAUR) (make)
- nlohmann-json (nlohmann-json-gitAUR) (make)
- nodejs (nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogenAUR, nodejs-lts-iron, nodejs-lts-jod, nodejs-lts-krypton) (make)
- npm (python-nodejs-wheelAUR, npm-corepackAUR) (make)
- openssl (openssl-gitAUR, openssl-staticAUR, openssl-aegisAUR) (make)
Required by (3)
- gaia-amd
- gaiaui-amd (optional)
- lemonade-desktop (optional)
Sources (3)
HabiRabbit commented on 2026-02-24 15:38 (UTC)
luciddream commented on 2026-02-20 09:08 (UTC)
@Pofes, aah yes, I think it's because it needs to have path traversal enabled to work! A better alternative IMO is to use /opt/ai-models or something which already has it enabled, and this way you don't have to change the ProtectHome in the systemd unit.
Pofes commented on 2026-02-20 08:40 (UTC)
@luciddream, thanks it works!)
I added chmod o+x for my home dir, and ProtectHome=no is also needed
luciddream commented on 2026-02-20 07:19 (UTC) (edited on 2026-02-20 07:20 (UTC) by luciddream)
Hi @Pofes, the systemd service uses the hardened features (to be aligned with lemonade upstream).
With that in mind, I believe you need to change some things in lemonade.conf and systemd unit.
1) set the LEMONADE_EXTRA_MODELS_DIR in lemonade.conf
2) set the ReadOnlyPaths=/home/user/model-directory in systemd unit
3) Probably have to also set ProtectHome=no in the systemd unit. I'm not sure about that and I can't test it at the moment.
To override the systemd unit you can run sudo systemctl edit lemonade-server
Pofes commented on 2026-02-19 23:52 (UTC)
@luciddream, hi, is there any easy/canonical way to use LEMONADE_EXTRA_MODELS_DIR=/home/user/... from systemd service?
current systemd process settings prevent using ~/.lmstudio/models, ~/.cache/huggingface/hub, etc (service doesn't start)
luciddream commented on 2026-02-06 00:03 (UTC)
With lemonade 9.3.0 there is also a web-app available at http://127.0.0.1:8000/app !
luciddream commented on 2026-01-28 21:05 (UTC)
I've added a systemd service unit. It's my first time doing this so fingers crossed it's working for more people other than myself ! please report if there are issues. More instructions are available in the pinned comment.
luciddream commented on 2026-01-22 07:00 (UTC)
hi @no4b. No it will be running on its system user (lemonade). The problem is that you can either have a cache directory for the normal user or for the system user.
I assume this is normal but I want to verify it tonight before making the release, I'm not at all experienced with systemd units. With lemonade-server it gets even trickier because it downloads many gigabytes of files in its cache directories.
I also wanted to try and make a socket unit so it starts when lemonade-desktop starts, so the service doesn't need to be running all the time. But I'm still investigating it.
no4b commented on 2026-01-21 22:15 (UTC)
@luciddream: thank you for your work on this. As for the systemd support it is a great idea, I just hope it won't run as root as there is no reason to run lemonade-server as root.
luciddream commented on 2026-01-21 20:11 (UTC)
I'm preparing a third update of this package, for systemd support. I just have some difficulties that I will try to resolve tomorrow.
Pinned Comments
luciddream commented on 2025-12-16 20:53 (UTC) (edited on 2026-05-08 17:33 (UTC) by luciddream)
lemonade-serverhas a systemd service unit. Usesystemctl start lemondto start.Default configuration is available at
/usr/share/lemonade/defaults.jsonand should be placed at:/var/lib/lemonade/.cache/lemonade/config.jsonAlso
/etc/lemonade/conf.d/zz-secrets.conffor the Lemonade API KEY.The cache where all models, backends, and other files are stored is now in
/var/lib/lemonade/.cacheGUI: lemonade-desktop.