Add a commented line to systemd service launch script to use jemalloc

This commit is contained in:
Greg Burri 2025-05-06 00:36:52 +02:00
parent 6010c8600f
commit c13bc47d75

View file

@ -5,6 +5,8 @@ After=network.target
[Service] [Service]
Type=simple Type=simple
User=pi User=pi
# Uncomment to use libjemalloc on Raspberry Pi. package 'libjemalloc' needs to be installed.
# Environment="LD_PRELOAD=/usr/lib/aarch64-linux-gnu/libjemalloc.so.2"
WorkingDirectory=/home/pi/recipes WorkingDirectory=/home/pi/recipes
ExecStart=/home/pi/recipes/recipes ExecStart=/home/pi/recipes/recipes
Restart=always Restart=always