Skip to content

Commit

Permalink
Silence "Referenced but unset environment variable" warning
Browse files Browse the repository at this point in the history
Systemd v254+ warns about unset environment variables, so we need to provide an explicit default value.

Based on analogdevicesinc/libiio#1144
  • Loading branch information
andrew-sayers authored Jan 23, 2025
1 parent 30de0fc commit 81bb006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fluidsynth.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ ProtectControlGroups=true
PrivateUsers=yes
Type=notify
NotifyAccess=main
Environment=OTHER_OPTS= SOUND_FONT=
EnvironmentFile=@FLUID_DAEMON_ENV_FILE@
EnvironmentFile=-%h/.config/fluidsynth
ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/fluidsynth -is $OTHER_OPTS $SOUND_FONT
Expand Down

0 comments on commit 81bb006

Please sign in to comment.