Skip to content

iiod: Add default env var to service file#1144

Merged
mhennerich merged 1 commit intoanalogdevicesinc:mainfrom
dennis-ju:main
Feb 20, 2024
Merged

iiod: Add default env var to service file#1144
mhennerich merged 1 commit intoanalogdevicesinc:mainfrom
dennis-ju:main

Conversation

@dennis-ju
Copy link
Copy Markdown
Contributor

Systemd now gives a warning when IIOD_EXTRA_OPTS is unset.

This change sets it to an empty string by default while still allowing it be overridden by /etc/default/iiod.

Fixes #1142.

Systemd now gives a warning when IIOD_EXTRA_OPTS is unset.

This change sets it to an empty string by default while still allowing
it be overridden by /etc/default/iiod.

Fixes analogdevicesinc#1142.

Signed-off-by: Dennis Jusufovic <dennis.jusufovic@axis.com>
@mhennerich mhennerich merged commit 7ba23c8 into analogdevicesinc:main Feb 20, 2024
andrew-sayers added a commit to andrew-sayers/smartmontools that referenced this pull request Jan 23, 2025
Systemd v254+ warn about unset environment variables,
so we need to provide an explicit default value.

Based on analogdevicesinc/libiio#1144
andrew-sayers added a commit to andrew-sayers/fluidsynth that referenced this pull request Jan 23, 2025
Systemd v254+ warns about unset environment variables, so we need to provide an explicit default value.

Based on analogdevicesinc/libiio#1144
andrew-sayers added a commit to andrew-sayers/smartmontools that referenced this pull request Jan 23, 2025
Systemd v254+ warns about unset environment variables,
so we need to provide an explicit default value.

Based on analogdevicesinc/libiio#1144
andrew-sayers added a commit to andrew-sayers/smartmontools that referenced this pull request Jan 23, 2025
Systemd v254+ warns about unset environment variables,
so we need to provide an explicit default value.

Based on analogdevicesinc/libiio#1144
derselbst pushed a commit to FluidSynth/fluidsynth that referenced this pull request Jan 25, 2025
Systemd v254+ warns about unset environment variables, so we need to provide an explicit default value.

Based on analogdevicesinc/libiio#1144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Systemd warns about unset variables

3 participants