Add a commented line to systemd service launch script to use jemalloc
This commit is contained in:
parent
6010c8600f
commit
c13bc47d75
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue