diff --git a/iiod/init/iiod.service.cmakein b/iiod/init/iiod.service.cmakein index 0f762474c..f7c310b5e 100644 --- a/iiod/init/iiod.service.cmakein +++ b/iiod/init/iiod.service.cmakein @@ -2,7 +2,7 @@ # # iiod - Systemd init script # -# Copyright (C) 2016-2021 Analog Devices Inc. +# Copyright (C) 2016-2024 Analog Devices Inc. [Unit] Description=IIO Daemon @@ -11,6 +11,7 @@ After=network.target systemd-udev-settle.service ConditionPathExists=/sys/bus/iio [Service] +Environment=$IIOD_EXTRA_OPTS='' EnvironmentFile=-/etc/default/iiod ExecStart=@CMAKE_INSTALL_FULL_SBINDIR@/iiod $IIOD_EXTRA_OPTS KillMode=process