Skip to content

Commit

Permalink
iiod/init/iiod.service.cmakein: Add support for extra iiod options
Browse files Browse the repository at this point in the history
This patch adds support to source iiod options via /etc/default/iiod

Signed-off-by: Michael Hennerich <[email protected]>
  • Loading branch information
mhennerich authored and pcercuei committed Dec 17, 2021
1 parent b09b764 commit d99f15c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion iiod/init/iiod.service.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ After=network.target
ConditionPathExists=/sys/bus/iio

[Service]
ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/iiod
EnvironmentFile=-/etc/default/iiod
ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/iiod $IIOD_EXTRA_OPTS
KillMode=process
Restart=on-failure

Expand Down

0 comments on commit d99f15c

Please sign in to comment.